Class: ValueArrayNode
- Inherits:
-
XML::Mapping::ArrayNode
- Object
- XML::Mapping::ArrayNode
- ValueArrayNode
- Defined in:
- lib/support/xml_mapping/value_array_node.rb
Instance Method Summary collapse
Instance Method Details
#initialize_impl(path, path2 = nil) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/support/xml_mapping/value_array_node.rb', line 2 def initialize_impl(path,path2=nil) @options[:marshaller] = proc{ |xml, value| xml.text = value} @options[:unmarshaller] = proc{ |xml| xml.text } super end |