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