my_hash = Hash.new my_key = "key000"my_hash[my_key] = "my_value" puts my_hash
Standard input is empty
{"key000"=>"my_value"}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!