Skip to content
Browse files

AS guide: removes docs for bytesize, no longer in AS

  • Loading branch information...
1 parent 171e0ad commit 2ed5251d11c5b21c2e852c4fb75cfa8587f203e6 @fxn fxn committed Nov 9, 2009
Showing with 0 additions and 4 deletions.
  1. +0 −4 railties/guides/source/active_support_core_extensions.textile
4 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:

0 comments on commit 2ed5251

Please sign in to comment.
Something went wrong with that request. Please try again.