lib/hermod/xml_section_builder.rb
def parent_node(name, options={})
      create_method(name, [], [], options) do |value, attributes|
        [value, attributes]
      end
    end
# Public: defines an XML parent node that wraps other nodes
#
# name    - the name of the node. This will become the name of the method on the XmlSection.
# options - a hash of options used to set up validations.
#
# Returns nothing you should rely on
defines an XML parent node that wraps other nodes
name    - the name of the node. This will become the name of the method on the XmlSection.
options - a hash of options used to set up validations.

Returns nothing you should rely on
defines an XML parent node that wraps other nodes name - the name of the node . This will become the name of the method on the XmlSection . options - a hash of options used to set up validations . Returns nothing you should rely on
def parent_node(name, options={})
      create_method(name, [], [], options) do |value, attributes|
        [value, attributes]
      end
    end
def parent_node ( name , options = { } ) create_method ( name , [ ] , [ ] , options ) do | value , attributes | [ value , attributes ] end end
Public: defines an XML parent node that wraps other nodes
name    - the name of the node.
Public : defines an XML parent node that wraps other nodes name - the name of the node .
name
options