From: Lars Olsson Date: 2011-04-13T17:50:34+09:00 Subject: Re: Copying parameters to singleton class On 13 Apr, 02:29, 7stud -- wrote: > and: > >     class <       attr_reader :options >     end > > -- > Posted viahttp://www.ruby-forum.com/. I'm happy to see that is was possible to do this in so many ways :) For what it is worth, here's what I finally settled for: class Opportunities @options = {:opt1 => :default, :opt2 => :default, :opt3 => :default}.freeze def self.options @options end def self.using(options) Class.new(self) do @options = superclass.options.merge(options).select do |key| superclass.options.has_key?(key) end.freeze end end end Thank you all for showing how crazy simple this stuff is to do in ruby! /lasso