class Pohoda::Parsers::Dat::DataPackType
Public Instance Methods
data_pack_item()
click to toggle source
# File lib/pohoda/parsers/dat/data_pack_type.rb, line 11 def data_pack_item array_of_at(Dat::DataPackItemType, ['dat:dataPackItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/dat/data_pack_type.rb, line 15 def to_h hash = {} hash[:attributes] = attributes hash[:transformation] = transformation.to_h if has? 'dat:transformation' hash[:data_pack_item] = data_pack_item.map(&:to_h) if has? 'dat:dataPackItem' hash end
transformation()
click to toggle source
# File lib/pohoda/parsers/dat/data_pack_type.rb, line 7 def transformation submodel_at(Dat::TransformationType, 'dat:transformation') end