class Pohoda::Parsers::Lst::ListStorageType

Public Instance Methods

item_storage() click to toggle source
# File lib/pohoda/parsers/lst/list_storage_type.rb, line 7
def item_storage
  array_of_at(Lst::ItemStorageType, ['lst:itemStorage'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_storage_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

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

  hash
  super.merge(hash)
end