class Pohoda::Parsers::Lst::ListCentreType

Public Instance Methods

item_centre() click to toggle source
# File lib/pohoda/parsers/lst/list_centre_type.rb, line 7
def item_centre
  at 'lst:itemCentre'
end
item_centre_attributes() click to toggle source
# File lib/pohoda/parsers/lst/list_centre_type.rb, line 11
def item_centre_attributes
  attributes_at 'lst:itemCentre'
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_centre_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:item_centre] = item_centre if has? 'lst:itemCentre'
  hash[:item_centre_attributes] = item_centre_attributes if has? 'lst:itemCentre'

  hash
  super.merge(hash)
end