From: Reid Thompson Date: 2007-06-14T10:27:03+09:00 Subject: Re: Dynamically referencing class constants? On Thu, 2007-06-14 at 10:26 +0900, Reid Thompson wrote: > On Thu, 2007-06-14 at 10:16 +0900, list. rb wrote: > > How can I do this? > > > > Socket.constants.each {|i| > > puts Socket::"#{i}" ##does not work of course > > } > > puts "Socket::#{i}" > doh!!! sorry, missed the dereference...