class Pohoda::Parsers::Typ::LinksType
Public Instance Methods
link()
click to toggle source
# File lib/pohoda/parsers/typ/links_type.rb, line 7 def link array_of_at(Typ::LinkElemetType, ['typ:link']) end
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