10 Things Every Java Programmer Should Know About Ruby

IRB Sample

Add 1+2, then find the methods defined in Proc …

$ irb --simple-prompt
>> 1 + 2
=> 3
>> Proc.instance_methods(false)
=> ["[]", "==", "dup", "call", "binding", "to_s", 
    "clone", "to_proc", "arity"]