class Pohoda::Parsers::Stk::RelatedFileType

Public Instance Methods

description() click to toggle source
# File lib/pohoda/parsers/stk/related_file_type.rb, line 15
def description
  at 'stk:description'
end
description_attributes() click to toggle source
# File lib/pohoda/parsers/stk/related_file_type.rb, line 19
def description_attributes
  attributes_at 'stk:description'
end
filepath() click to toggle source
# File lib/pohoda/parsers/stk/related_file_type.rb, line 7
def filepath
  at 'stk:filepath'
end
filepath_attributes() click to toggle source
# File lib/pohoda/parsers/stk/related_file_type.rb, line 11
def filepath_attributes
  attributes_at 'stk:filepath'
end
to_h() click to toggle source
# File lib/pohoda/parsers/stk/related_file_type.rb, line 23
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:filepath] = filepath if has? 'stk:filepath'
  hash[:filepath_attributes] = filepath_attributes if has? 'stk:filepath'
  hash[:description] = description if has? 'stk:description'
  hash[:description_attributes] = description_attributes if has? 'stk:description'

  hash
end