Class: CdataNode
- Inherits:
-
XML::Mapping::TextNode
- Object
- XML::Mapping::TextNode
- CdataNode
- Defined in:
- lib/support/xml_mapping/cdata_node.rb
Instance Method Summary collapse
-
#set_attr_value(xml, value) ⇒ Object
:nodoc:.
Instance Method Details
#set_attr_value(xml, value) ⇒ Object
:nodoc:
4 5 6 |
# File 'lib/support/xml_mapping/cdata_node.rb', line 4 def set_attr_value(xml, value) # :nodoc: @path.first(xml,:ensure_created => true).text = REXML::CData.new(value) end |