Sha256: 60771003420b3a38f9b296010ea147d0b4b6ee1f3b417a8171355ee357116faa
Contents?: true
Size: 305 Bytes
Versions: 3
Compression:
Stored size: 305 Bytes
Contents
#:enddoc: module RailsConnector class ObjDataFromHash < ObjData def initialize(hash) @hash = hash.stringify_keys end def value_and_type_of(attribute_name) [@hash[attribute_name], nil] end def has_custom_attribute?(name) @hash.has_key?(name) end end end
Version data entries
3 entries across 3 versions & 1 rubygems