Method: Representable::Hash#from_hash

Defined in:
lib/representable/hash.rb

#from_hash(data, options = {}, binding_builder = Binding) ⇒ Object Also known as: parse



27
28
29
30
31
# File 'lib/representable/hash.rb', line 27

def from_hash(data, options={}, binding_builder=Binding)
  data = filter_wrap(data, options)

  update_properties_from(data, options, binding_builder)
end