class Pohoda::Builders::Lst::ListInventoryListsType
Public Instance Methods
builder()
click to toggle source
Calls superclass method
# File lib/pohoda/builders/lst/list_inventory_lists_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) super.nodes.each do |n| root << n end if data.key? :inventory_lists data[:inventory_lists].each { |i| root << Ilt::InventoryListsType.new('lst:inventoryLists', i).builder } end root end