Matthew Johnson <musical.matthew / mac.com> writes:

>>> >> # Sigh -- Matz, *please* can we have this? :-)
>>> >> def singleton_class
>>> >>   class << self; self; end
>>> >> end
>>
>> +100 - please give us singleton_class!
>
> I concur as well and have been using this myself.

While we are at adding methods, who else would like ot have a method
that returns the current block, so you can access it without needing
to declare it in the arguments list?  (And likewise for lambda{}, even
if 1.9 fixes that.)

-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org