From 491781343925dfa9edcf254e4feb25ce1e0eddd1 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Wed, 5 Sep 2007 23:14:12 +0000 Subject: Fix misleading documentation for truncate. [esad] Closes #9104 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/text_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index 9a8f0115ad..493fa7c01d 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -30,7 +30,7 @@ module ActionView end # If +text+ is longer than +length+, +text+ will be truncated to the length of - # +length+ (defaults to 30) and the last three characters will be replaced with the +truncate_string+ + # +length+ (defaults to 30) and the last characters will be replaced with the +truncate_string+ # (defaults to "..."). # # ==== Examples -- cgit v1.2.3