Hi, I would like to implement the following Ruby code in C code (it's
a simplification):
···
------------------------------
def self.method1
method2 { method3 }
end
-----------------------------
or:
------------------------------
def self.method1
method2(my_proc)
end
# where my_proc is a Proc with value:
# { method3 }
-----------------------------
I see no way in process.c (Ruby 1.9.3), nor in other files of Ruby
sources. Is there any way?
Thanks a lot.
--
Iñaki Baz Castillo
<ibc@aliax.net>