class Pohoda::Parsers::Prm::ParameterItemListType

Public Instance Methods

parameter_def() click to toggle source
# File lib/pohoda/parsers/prm/parameter_item_list_type.rb, line 7
def parameter_def
  array_of_at(Prm::ParameterDefType, ['prm:parameterDef'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/prm/parameter_item_list_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:parameter_def] = parameter_def.map(&:to_h) if has? 'prm:parameterDef'

  hash
end