Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Proc params extension
Tj Holowaychuk
1/16/2009 12:27:00 AM
Basically what I need is:
Proc.new { |a,b,c| }.params # => [:a, :b, :c]
I was looking into creating a C extension.. but yikes the closure
portion is far beyond my limited C skills (lack of). Any ideas? is this
even really possible with the way evaluation is performed?
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Proc params extension
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