diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-11 21:53:39 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-11 21:53:39 +0530 |
commit | b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661 (patch) | |
tree | 2489357ba541d47cad58a9bd47cc6856a077fa8d /actionpack/lib/action_view/helpers/atom_feed_helper.rb | |
parent | 8ce2844cbb52ea31716b0f286b5d7f9d20bf0e3c (diff) | |
parent | d10a1b5739730425fc5a103f8fd7eb15b6e34db8 (diff) | |
download | rails-b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661.tar.gz rails-b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661.tar.bz2 rails-b2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib/action_view/helpers/atom_feed_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/atom_feed_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionpack/lib/action_view/helpers/atom_feed_helper.rb index 96e5722252..889ea8a763 100644 --- a/actionpack/lib/action_view/helpers/atom_feed_helper.rb +++ b/actionpack/lib/action_view/helpers/atom_feed_helper.rb @@ -81,8 +81,8 @@ module ActionView # # The Atom spec defines five elements (content rights title subtitle # summary) which may directly contain xhtml content if :type => 'xhtml' - # is specified as an attribute. If so, this helper will take care of - # the enclosing div and xhtml namespace declaration. Example usage: + # is specified as an attribute. If so, this helper will take care of + # the enclosing div and xhtml namespace declaration. Example usage: # # entry.summary :type => 'xhtml' do |xhtml| # xhtml.p pluralize(order.line_items.count, "line item") @@ -91,8 +91,8 @@ module ActionView # end # # - # atom_feed yields an AtomFeedBuilder instance. Nested elements yield - # an AtomBuilder instance. + # <tt>atom_feed</tt> yields an +AtomFeedBuilder+ instance. Nested elements yield + # an +AtomBuilder+ instance. def atom_feed(options = {}, &block) if options[:schema_date] options[:schema_date] = options[:schema_date].strftime("%Y-%m-%d") if options[:schema_date].respond_to?(:strftime) |