class Pohoda::Builders::Typ::LinksType
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/typ/links_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) if data.key? :link data[:link].each { |i| root << Typ::LinkElemetType.new('typ:link', i).builder } end root end