Class: Representable::XML::Binding

Inherits:
Binding
  • Object
show all
Defined in:
lib/representable/bindings/xml_bindings.rb

Direct Known Subclasses

AttributeBinding, ObjectBinding, TextBinding

Instance Attribute Summary

Attributes inherited from Binding

#definition

Instance Method Summary collapse

Methods inherited from Binding

#initialize

Constructor Details

This class inherits a constructor from Representable::Binding

Instance Method Details

#read(xml) ⇒ Object



6
7
8
# File 'lib/representable/bindings/xml_bindings.rb', line 6

def read(xml)
  value_from_node(xml)
end