diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-26 13:56:42 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-05-26 13:59:47 -0300 |
commit | eedc513503785490a7caed23cd0a0aef3536759f (patch) | |
tree | 90bf8de637f333f3d5df0aee22e46cdcef50e523 /activesupport | |
parent | 4ce3b5d6fe6451a7e6951f366d3e3f9324f75fdb (diff) | |
download | rails-eedc513503785490a7caed23cd0a0aef3536759f.tar.gz rails-eedc513503785490a7caed23cd0a0aef3536759f.tar.bz2 rails-eedc513503785490a7caed23cd0a0aef3536759f.zip |
Update the documentation and add CHANGELOG entry
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/filters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/filters.rb b/activesupport/lib/active_support/core_ext/string/filters.rb index 2478f42290..70f2dcb562 100644 --- a/activesupport/lib/active_support/core_ext/string/filters.rb +++ b/activesupport/lib/active_support/core_ext/string/filters.rb @@ -33,7 +33,7 @@ class String # # => "Once upon a time in a..." # # The last characters will be replaced with the <tt>:omission</tt> string (defaults to "...") - # for a total length not exceeding <tt>:length</tt>: + # for a total length not exceeding <tt>length</tt>: # # 'And they found that many people were sleeping better.'.truncate(25, :omission => '... (continued)') # # => "And they f... (continued)" |