class Pohoda::Parsers::Lst::ListVydejkaType

Public Instance Methods

to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_vydejka_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end
vydejka() click to toggle source
# File lib/pohoda/parsers/lst/list_vydejka_type.rb, line 7
def vydejka
  array_of_at(Vyd::VydejkaType, ['lst:vydejka'])
end