J
jrmair
Hello friends,
I'm having a hard time implementing the equivalent of this in the ruby
C API:
module M
module_function
def run(&block)
module_eval(&block)
end
end
How is the &block operation implemented in the C API? im looking for
something to convert a proc to a
block. i've scanned many of the .c files and have found nothing.
Anyone have any ideas?
cheers
John
I'm having a hard time implementing the equivalent of this in the ruby
C API:
module M
module_function
def run(&block)
module_eval(&block)
end
end
How is the &block operation implemented in the C API? im looking for
something to convert a proc to a
block. i've scanned many of the .c files and have found nothing.
Anyone have any ideas?
cheers
John