class Pohoda::Parsers::Lst::ListPrevodkaType

Public Instance Methods

prevodka() click to toggle source
# File lib/pohoda/parsers/lst/list_prevodka_type.rb, line 7
def prevodka
  array_of_at(Pre::PrevodkaType, ['lst:prevodka'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_prevodka_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:prevodka] = prevodka.map(&:to_h) if has? 'lst:prevodka'

  hash
  super.merge(hash)
end