aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-05-10 20:55:31 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-05-10 20:55:31 -0300
commitab880b9eb0aab83e9c000a89e9f0ca636a8b9f78 (patch)
tree6655541e9985bbd7ecc49929fe3cf732a62736fb /actionpack/lib/action_view/base.rb
parent71d6b088ec135cb3c4bc15ec45feb7449aee0c97 (diff)
downloadrails-ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78.tar.gz
rails-ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78.tar.bz2
rails-ab880b9eb0aab83e9c000a89e9f0ca636a8b9f78.zip
Follow code conventions on docs
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:
#