mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Fix misleading documentation for truncate. [esad] Closes #9104
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user