class Pohoda::Parsers::Typ::LinksType

Public Instance Methods

to_h() click to toggle source
# File lib/pohoda/parsers/typ/links_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:link] = link.map(&:to_h) if has? 'typ:link'

  hash
end