Class: Atomizer::Link

Inherits:
FeedItem show all
Defined in:
lib/atomizer/link.rb

Instance Method Summary collapse

Methods inherited from FeedItem

feed_attributes, feed_no_collection_group_tag, feed_no_collection_group_tag!, feed_tag_name, #initialize

Methods included from Buildable

#to_atom

Constructor Details

This class inherits a constructor from Atomizer::FeedItem

Instance Method Details

#to_xml(xml) ⇒ Object



7
8
9
# File 'lib/atomizer/link.rb', line 7

def to_xml(xml)
  xml.link :rel => @rel, :type => @type, :length => @length, :href => @href
end