Sha256: 7c3a0b87be19f089f573ffca166c03ffd9d37fc189bd8a62607c5592157d5d21
Contents?: true
Size: 450 Bytes
Versions: 3
Compression:
Stored size: 450 Bytes
Contents
require 'son_jay/object_model/content/abstract' require 'son_jay/object_model/content/content_without_extra' require 'son_jay/object_model/content/content_with_extra' module SonJay class ObjectModel module Content def self.new(property_definitions, allow_extra) klass = allow_extra ? self::ContentWithExtra : self::ContentWithoutExtra klass.new( property_definitions ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
son_jay-0.5.2 | lib/son_jay/object_model/content.rb |
son_jay-0.5.1 | lib/son_jay/object_model/content.rb |
son_jay-0.5.0 | lib/son_jay/object_model/content.rb |