#:enddoc: module RailsConnector class ObjDataFromHash < ObjData def initialize(hash) @hash = hash end def value_and_type_of(attribute_name) [@hash[attribute_name], nil] end def has_attribute?(name) @hash.has_key?(name) end end end