Method: Representable::Binding#uncompile_fragment

Defined in:
lib/representable/binding.rb

#uncompile_fragment(doc) ⇒ Object

Parse value from doc and update the model property.



62
63
64
65
66
# File 'lib/representable/binding.rb', line 62

def uncompile_fragment(doc)
  evaluate_option(:reader, doc) do
    read_fragment(doc)
  end
end