class Pohoda::Parsers::Ftr::SelectedIcoType

Public Instance Methods

ico() click to toggle source
# File lib/pohoda/parsers/ftr/selected_ico_type.rb, line 7
def ico
  array_of_at(Typ::IcoType, ['ftr:ico'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/ftr/selected_ico_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:ico] = ico.map(&:to_h) if has? 'ftr:ico'

  hash
end