aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRashmi Yadav <rays.rashmi@gmail.com>2013-08-14 21:34:03 +0200
committerRashmi Yadav <rays.rashmi@gmail.com>2013-08-14 21:34:03 +0200
commit97d5ccf4f144b0fe93e9d033a516ac04eac5c7a8 (patch)
tree4af9b6c3c40ed9779e24d0c4760c7d50bd748d57 /guides/source
parenta2aa1d434a5fe9a703eccb99d1a4a994bc4f5df4 (diff)
downloadrails-97d5ccf4f144b0fe93e9d033a516ac04eac5c7a8.tar.gz
rails-97d5ccf4f144b0fe93e9d033a516ac04eac5c7a8.tar.bz2
rails-97d5ccf4f144b0fe93e9d033a516ac04eac5c7a8.zip
Added new line [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_support_core_extensions.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index fade836873..be5e47584e 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -1260,6 +1260,7 @@ The method `remove` will remove all occurrences of the pattern:
There's also the destructive version `String#remove!`.
NOTE: Defined in `active_support/core_ext/string/filters.rb`.
+
### `squish`
The method `squish` strips leading and trailing whitespace, and substitutes runs of whitespace with a single space each: