class Pohoda::Parsers::Rdc::PartsType

Public Instance Methods

part() click to toggle source
# File lib/pohoda/parsers/rdc/parts_type.rb, line 7
def part
  array_of_at(String, ['rdc:part'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/rdc/parts_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:part] = part if has? 'rdc:part'

  hash
end