| 10 Things Every Java Programmer Should Know About Ruby | [ Prev | Home | Next ] |
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"]
| Dayton-Cincinnati .NET Code Camp 2006 | Copyright 2005, 2006 by Jim Weirich (All Rights Reserved) |