class ValueArrayNode

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/support/xml_mapping/value_array_node.rb, line 4
def initialize(*args)
      *args = super(*args)
  @options[:marshaller] = proc{ |xml, value| xml.text = value }
  @options[:unmarshaller] = proc{ |xml| xml.text }
  args
end