amrangaye
12/25/2005 10:04:00 AM
Hello
Is there anyway to get back the definition of a method within a running
program [or irb session]?
For example, if I declare a method:
def hello
puts "Hello"
end
is there anything like hello.source to get back hello's code?
Thanks.