{1=> 111, 2=>222}.to_s.split(',').each {|entry| puts entry}
Standard input is empty
{1=>111 2=>222}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!