Class: Atomizer::Content

Inherits:
FeedItem show all
Defined in:
lib/atomizer/content.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



6
7
8
# File 'lib/atomizer/content.rb', line 6

def to_xml(xml)
  xml.content(@body, :type => type, "xml:lang" => @xml_lang, "xml:base" => @xml_base)
end