Index finite lists of positive integers: Difference between revisions

Content added Content deleted
(Added Quackery.)
(→‎{{header|Ruby}}: updated syntax)
Line 1,042: Line 1,042:


def unrank(n)
def unrank(n)
n.to_s(11).split('a').collect{|x| x.to_i}
n.to_s(11).split('a').map(&:to_i)
end
end