From: Ragav Satish Date: 2008-10-06T02:07:32+09:00 Subject: Re: class << self Randy Kramer wrote: > On Sunday 05 October 2008 12:23 pm, _why wrote: >> A::B can be addressed from anywhere, whereas #::B >> cannot (not by that name.) > > What is the syntax #? (I couldn't (readily, at least) find it > in the index of Pickaxe2, nor is Google helping.) > > Randy Kramer It's just a name for the eigenclass of A class A p class << self ; self;end #=> # end -- Posted via http://www.ruby-forum.com/.