aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2008-05-23 01:03:00 +0200
committerXavier Noria <fxn@hashref.com>2008-05-23 01:03:00 +0200
commit63946cfb0ecb1a30b254920df7daee57b36ce7ec (patch)
tree9a589e13703fb5fef8ad09b77c0e03905006e411 /actionpack/lib/action_view
parent22a47cb1aeee8ada2396ddf0270c45749b59f16e (diff)
downloadrails-63946cfb0ecb1a30b254920df7daee57b36ce7ec.tar.gz
rails-63946cfb0ecb1a30b254920df7daee57b36ce7ec.tar.bz2
rails-63946cfb0ecb1a30b254920df7daee57b36ce7ec.zip
overall cleanup of "#=>" and other minor details
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index 3d80d508b9..0791feb9ac 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -324,13 +324,13 @@ module ActionView
#
# ==== Examples
# label(:post, :title)
- # #=> <label for="post_title">Title</label>
+ # # => <label for="post_title">Title</label>
#
# label(:post, :title, "A short title")
- # #=> <label for="post_title">A short title</label>
+ # # => <label for="post_title">A short title</label>
#
# label(:post, :title, "A short title", :class => "title_label")
- # #=> <label for="post_title" class="title_label">A short title</label>
+ # # => <label for="post_title" class="title_label">A short title</label>
#
def label(object_name, method, text = nil, options = {})
InstanceTag.new(object_name, method, self, nil, options.delete(:object)).to_label_tag(text, options)