def accept_options(*args)
accepted_options.concat(args)
args.each do |property_option|
class_eval "def self.\#{property_option}(value = Undefined) # def self.unique(value = Undefined)\nreturn @\#{property_option} if value.equal?(Undefined) # return @unique if value.equal?(Undefined)\ndescendants.each do |descendant| # descendants.each do |descendant|\ndescendant.\#{property_option}(value) # descendant.unique(value)\nend # end\n@\#{property_option} = value # @unique = value\nend # end\n", __FILE__, __LINE__ + 1
end
descendants.each { |descendant| descendant.accepted_options.concat(args) }
end