aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-12-05 23:11:20 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2011-12-05 23:11:20 +0200
commitd645aed91f488ed00bd4b143e04c5e9b30e00c54 (patch)
tree78c31f4f5c52cde9235cbf2a59df22fbc494afb2
parent1c65962b9da73d5ee231d38794166a94c80e4a74 (diff)
downloadrails-d645aed91f488ed00bd4b143e04c5e9b30e00c54.tar.gz
rails-d645aed91f488ed00bd4b143e04c5e9b30e00c54.tar.bz2
rails-d645aed91f488ed00bd4b143e04c5e9b30e00c54.zip
Use do end for multiline block.
-rw-r--r--actionpack/lib/action_view/base.rb4
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:
#