class Pohoda::Parsers::Ftr::SelectedNumbersType
Public Instance Methods
number()
click to toggle source
# File lib/pohoda/parsers/ftr/selected_numbers_type.rb, line 7 def number array_of_at(Typ::NumberType, ['ftr:number']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/ftr/selected_numbers_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:number] = number.map(&:to_h) if has? 'ftr:number' hash end