From: 7stud -- Date: 2011-04-13T03:38:13+09:00 Subject: Re: Copying parameters to singleton class 7stud -- wrote in post #992354: > The syntax is a little simpler doing this: > > class << singleton > attr_reader :options #(self.)attr_reader, where self=singleton > end ...actually, class << singleton puts us in the singleton class of singleton, so that should say "self = singleton class of singleton". -- Posted via http://www.ruby-forum.com/.