aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_support_core_extensions.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-11-09 23:31:55 +0100
committerXavier Noria <fxn@hashref.com>2009-11-09 23:31:55 +0100
commit2ed5251d11c5b21c2e852c4fb75cfa8587f203e6 (patch)
tree8eda3886009edf4116ca3d3bc9892f1688374032 /railties/guides/source/active_support_core_extensions.textile
parent171e0adabb8ad322ea7dec16aba491266363dde8 (diff)
downloadrails-2ed5251d11c5b21c2e852c4fb75cfa8587f203e6.tar.gz
rails-2ed5251d11c5b21c2e852c4fb75cfa8587f203e6.tar.bz2
rails-2ed5251d11c5b21c2e852c4fb75cfa8587f203e6.zip
AS guide: removes docs for bytesize, no longer in AS
Diffstat (limited to 'railties/guides/source/active_support_core_extensions.textile')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile4
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 2dad970220..d96c79819b 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -679,10 +679,6 @@ Symbols from Ruby 1.8.7 on respond to +to_proc+, and Active Support defines it f
h3. Extensions to +String+
-h4. +bytesize+
-
-Ruby 1.9 introduces +String#bytesize+ to obtain the length of a string in bytes. Ruby 1.8.7 defines this method as an alias for +String#size+ for forward compatibility, and Active Support does so for previous versions.
-
h4. +squish+
The method +String#squish+ strips leading and trailing whitespace, and substitutes runs of whitespace with a single space each: