Method: Representable::XML::Binding#serialize_for
- Defined in:
- lib/representable/xml/binding.rb
#serialize_for(value, parent) ⇒ Object
Creates wrapped node for the property.
34 35 36 37 |
# File 'lib/representable/xml/binding.rb', line 34 def serialize_for(value, parent) node = node_for(parent, as) serialize_node(node, value) end |