Re: instance_eva()l-ing a proc with parameters

Logan C. wrote:

http://eigenclass.org/hiki.rb?instance_exec has various
implementations and their respective strengths and weaknesses. Or you
can
just use ruby
1.9 where it’s part of the core.

Thanks a lot, Logan. That’s exactly what I need and what I have missed
completely here on the list when the discussion first came up.

It looks like I am better off sticking to my define_method() custom
solution for now, as instance_exec() uses the same approach anyway.

Thanks again,
Gennady.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs