Skip to content

Instantly share code, notes, and snippets.

@davidboy
Created July 25, 2012 21:17
def foo(argument)
array = []
some_loop.each do |i|
array[i] = { child: foo new_argument }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment