class Pohoda::Parsers::Dat::TransformationType

Public Instance Methods

input() click to toggle source
# File lib/pohoda/parsers/dat/transformation_type.rb, line 7
def input
  at 'dat:input'
end
input_attributes() click to toggle source
# File lib/pohoda/parsers/dat/transformation_type.rb, line 11
def input_attributes
  attributes_at 'dat:input'
end
output() click to toggle source
# File lib/pohoda/parsers/dat/transformation_type.rb, line 15
def output
  at 'dat:output'
end
output_attributes() click to toggle source
# File lib/pohoda/parsers/dat/transformation_type.rb, line 19
def output_attributes
  attributes_at 'dat:output'
end
to_h() click to toggle source
# File lib/pohoda/parsers/dat/transformation_type.rb, line 23
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:input] = input if has? 'dat:input'
  hash[:input_attributes] = input_attributes if has? 'dat:input'
  hash[:output] = output if has? 'dat:output'
  hash[:output_attributes] = output_attributes if has? 'dat:output'

  hash
end