class Pohoda::Parsers::Prm::FormItemListType

Public Instance Methods

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

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

  hash
end