A
Anselm
Hello,
Is it possible to change the binding of a Proc object ?
Thanks,
Anselm
Is it possible to change the binding of a Proc object ?
Thanks,
Anselm
Anselm said:Hello,
Is it possible to change the binding of a Proc object ?
=> #<Object:0x3e98a0>self => main
pr = lambda { self }=> # said:pr[] => main
obj = Object.new=> # said:obj.instance_eval &pr
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.