T
trans. (T. Onoma)
Curious thought --- what if I'd like to know the arity of the proc being
executed?
proc{|x| arity }.call(1)
I see no way to do this, not even with the extended Binding class. I begin to
wonder (for this and other reasons) if a closure's "self" is doable? (at
least I think _closure_ is the right "scope" for this)
proc{|x| this.arity }.call(1)
T.
executed?
proc{|x| arity }.call(1)
I see no way to do this, not even with the extended Binding class. I begin to
wonder (for this and other reasons) if a closure's "self" is doable? (at
least I think _closure_ is the right "scope" for this)
proc{|x| this.arity }.call(1)
T.