class Representable::XML::Binding::Content
Represents tag content.
Public Instance Methods
read(node)
click to toggle source
# File lib/representable/xml/binding.rb, line 157 def read(node) node.content end
serialize_for(value, parent)
click to toggle source
# File lib/representable/xml/binding.rb, line 161 def serialize_for(value, parent) parent.content = value.to_s end
write(parent, value)
click to toggle source
# File lib/representable/xml/binding.rb, line 165 def write(parent, value) serialize_for(value, parent) end