lib/hermod/xml_section_builder.rb
# Internal: Takes a block to build the class using the methods on this
# builder and then sets the correct node_order (to ensure the nodes are
# ordered correctly in the XML).
#
# Returns the newly built class. This should be assigned to a constant
# before use.
Takes a block to build the class using the methods on this
builder and then sets the correct node_order (to ensure the nodes are
ordered correctly in the XML).

Returns the newly built class. This should be assigned to a constant
before use.
Takes a block to build the class using the methods on this builder and then sets the correct node_order ( to ensure the nodes are ordered correctly in the XML ) . Returns the newly built class . This should be assigned to a constant before use .
def build(&block)
      yield self
      @new_class.node_order = @node_order
      @new_class
    end
def build ( & block ) yield self @new_class . node_order = @node_order @new_class end
Internal: Takes a block to build the class using the methods on this
builder and then sets the correct node_order (to ensure the nodes are
ordered correctly in the XML).
Internal : Takes a block to build the class using the methods on this builder and then sets the correct node_order ( to ensure the nodes are ordered correctly in the XML ) .
block