Module: SonJay::ObjectModel::Properties
- Defined in:
- lib/son_jay/object_model/properties.rb,
lib/son_jay/object_model/properties/abstract.rb,
lib/son_jay/object_model/properties/properties_with_extra.rb,
lib/son_jay/object_model/properties/properties_without_extra.rb
Defined Under Namespace
Classes: Abstract, PropertiesWithExtra, PropertiesWithoutExtra
Class Method Summary collapse
Class Method Details
.new(property_definitions, allow_extra) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/son_jay/object_model/properties.rb', line 10 def self.new(property_definitions, allow_extra) klass = allow_extra ? self::PropertiesWithExtra : self::PropertiesWithoutExtra klass.new( property_definitions ) end |