Method: Hermod::XmlSectionBuilder#initialize
- Defined in:
- lib/hermod/xml_section_builder.rb
#initialize(new_class) ⇒ XmlSectionBuilder
Internal: Sets up the builder with the anonymous subclass of XmlSection. Don’t use this directly, instead see ‘Hermod::XmlSection.build`
43 44 45 46 |
# File 'lib/hermod/xml_section_builder.rb', line 43 def initialize(new_class) @new_class = new_class @node_order = [] end |