Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
&block question
jrmair
8/9/2008 2:47:00 PM
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
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
&block question
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password