On 8/17/07, Robert Dober <robert.dober / gmail.com> wrote:
<snip>
>     def sing_inst; class << self; self end.instance_variable_get("@a") end
I tend to think too complicated :(

def sing_inst; class << self; @a end end

does the job of course.
<snip>


> 42
> 222
>
R.