I was wondering if it possible to obtain a reference to a function before it
has been
'def'ined?
eg:
do_something(my_func)
def my_func():
blahblah...
end
Python does not allow this, I wondered if it's possible with Ruby (as it is
with Perl, C, Java etc) ?