Closed skade closed 14 years ago
Ruby 1.9.2 does not allow passing lambda objects to instance_eval anymore {1}.
This patch fixes this nuisance, uses "proc" instead. It passes on 1.9.2 again and still works on 1.8.7 and 1.9.1.
Regards, Florian
{1}: According to http://www.ruby-forum.com/topic/213325 , this was always the case, it was only working by accident.
Applied and version bumped to 0.11.4.
Thanks!
Ruby 1.9.2 does not allow passing lambda objects to instance_eval anymore {1}.
This patch fixes this nuisance, uses "proc" instead. It passes on 1.9.2 again and still works on 1.8.7 and 1.9.1.
Regards, Florian
{1}: According to http://www.ruby-forum.com/topic/213325 , this was always the case, it was only working by accident.