Hi --

On Sun, 1 Feb 2009, Kornelius Kalnbach wrote:

> 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...)

singleton_class.class_eval. The less it's treated like a special case,
the better.


David

-- 
David A. Black / Ruby Power and Light, LLC
Ruby/Rails consulting & training: http://www.rubypal.com
Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2)

http://www.wishsight.com => Independent, social wishlist management!