aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-05-11 21:53:39 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-05-11 21:53:39 +0530
commitb2d6f8ee925ccd5ca8ddf1e2fdefb9001842d661 (patch)
tree2489357ba541d47cad58a9bd47cc6856a077fa8d /actionpack/lib/action_view/base.rb
parent8ce2844cbb52ea31716b0f286b5d7f9d20bf0e3c (diff)
parentd10a1b5739730425fc5a103f8fd7eb15b6e34db8 (diff)
downloadrails-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/base.rb')
-rw-r--r--actionpack/lib/action_view/base.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb
index c98110353f..fd2970b8e2 100644
--- a/actionpack/lib/action_view/base.rb
+++ b/actionpack/lib/action_view/base.rb
@@ -85,11 +85,11 @@ module ActionView #:nodoc:
#
# Here are some basic examples:
#
- # xml.em("emphasized") # => <em>emphasized</em>
- # xml.em { xml.b("emph & bold") } # => <em><b>emph &amp; bold</b></em>
- # xml.a("A Link", "href"=>"http://onestepback.org") # => <a href="http://onestepback.org">A Link</a>
- # xml.target("name"=>"compile", "option"=>"fast") # => <target option="fast" name="compile"\>
- # # NOTE: order of attributes is not specified.
+ # xml.em("emphasized") # => <em>emphasized</em>
+ # xml.em { xml.b("emph & bold") } # => <em><b>emph &amp; bold</b></em>
+ # xml.a("A Link", "href" => "http://onestepback.org") # => <a href="http://onestepback.org">A Link</a>
+ # xml.target("name" => "compile", "option" => "fast") # => <target option="fast" name="compile"\>
+ # # NOTE: order of attributes is not specified.
#
# Any method with a block will be treated as an XML markup tag with nested markup in the block. For example, the following:
#