class Nested def [](s) puts s.to_s return self endend x = Nested.newx[:Hello][:World]
Standard input is empty
Hello World
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!