aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/text_helper.rb
diff options
context:
space:
mode:
authorEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-11 14:15:34 +0400
committerEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-11 14:15:34 +0400
commitccf9577aee86ce1f766c5e8854e0c285dc38f8ac (patch)
tree7d7aae452ebfeb8ae30016ceffd0e8686bbf1b57 /actionpack/lib/action_view/helpers/text_helper.rb
parent2148e2cc943f17544f1288e742954fdaa8a92d62 (diff)
downloadrails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.tar.gz
rails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.tar.bz2
rails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.zip
Fix a bunch of minor spelling mistakes
Diffstat (limited to 'actionpack/lib/action_view/helpers/text_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index a06073ce66..c8533c217b 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -48,7 +48,7 @@ module ActionView
# truncate("Once upon a time in a world far far away", :length => 17)
# # => "Once upon a ti..."
#
- # truncate("Once upon a time in a world far far away", :lenght => 17, :separator => ' ')
+ # truncate("Once upon a time in a world far far away", :length => 17, :separator => ' ')
# # => "Once upon a..."
#
# truncate("And they found that many people were sleeping better.", :length => 25, :omission => '... (continued)')