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/base.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/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 10 |
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 & 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 & 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: # |