From: Devin Mullins Date: 2005-09-13T21:55:52+09:00 Subject: Re: confused by nested functions David A. Black wrote: > You're not accessing the top-level object's singleton class there, > though. What you'd want would be: > > $ ruby -e 'class << self; def x; p 1; end; end; x' > 1 I, uh... must be tired. Yeah, that's it. I'm going to shut up now. :) Devin confused by the sound of his own voice, apparently...