diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-12-05 23:11:20 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-12-05 23:11:20 +0200 |
commit | d645aed91f488ed00bd4b143e04c5e9b30e00c54 (patch) | |
tree | 78c31f4f5c52cde9235cbf2a59df22fbc494afb2 /actionpack/lib | |
parent | 1c65962b9da73d5ee231d38794166a94c80e4a74 (diff) | |
download | rails-d645aed91f488ed00bd4b143e04c5e9b30e00c54.tar.gz rails-d645aed91f488ed00bd4b143e04c5e9b30e00c54.tar.bz2 rails-d645aed91f488ed00bd4b143e04c5e9b30e00c54.zip |
Use do end for multiline block.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index dedd8f9b76..66a5d59857 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -94,10 +94,10 @@ module ActionView #:nodoc: # # Any method with a block will be treated as an XML markup tag with nested markup in the block. For example, the following: # - # xml.div { + # xml.div do # xml.h1(@person.name) # xml.p(@person.bio) - # } + # end # # would produce something like: # |