I am very new to Ruby array and hash manipulation.
How can I do this simple transformation?
array = [#, #