{a: 1, b: 2}.each_with_index { |pair, index| p pair[0], pair[1] }
Standard input is empty
:a 1 :b 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!