Issue #1082 has been updated by Kornelius Kalnbach.


+1
I thought this feature was already added to 1.9? class << self; self; end is not very helpful for beginners.

What about singleton_class_eval? (Or singleton_class.eval, for that matter...)
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1082

----------------------------------------
http://redmine.ruby-lang.org