class Pohoda::Builders::Lst::ListIntParamType

Public Instance Methods

builder() click to toggle source
Calls superclass method
# File lib/pohoda/builders/lst/list_int_param_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? :int_param_detail
    data[:int_param_detail].each { |i| root << Ipm::IntParamDetailType.new('lst:intParamDetail', i).builder }
  end

  root
end