Sha256: 164ef4781629b613cdfe2415739741d4dec7991e5cbae1c5fc971b06c2f16e90
Contents?: true
Size: 342 Bytes
Versions: 8
Compression:
Stored size: 342 Bytes
Contents
module SonJay class ObjectModel class PropertiesDefiner def initialize(property_definitions) @property_definitions = property_definitions end def property(name, options={}) name = "#{name}" @property_definitions << PropertyDefinition.new( name, options[:model] ) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems