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:30:31 +0100
committerXavier Noria <fxn@hashref.com>2009-11-09 23:30:31 +0100
commitdcff121c0940d781da871a6bf9244dd1a0eeb43e (patch)
treef2cf29452ab7ac22cdbfe429dc8de0b353168753 /railties/guides/source/active_support_core_extensions.textile
parent18ce0f517d5d454fc141326c0d83f831b36a3000 (diff)
downloadrails-dcff121c0940d781da871a6bf9244dd1a0eeb43e.tar.gz
rails-dcff121c0940d781da871a6bf9244dd1a0eeb43e.tar.bz2
rails-dcff121c0940d781da871a6bf9244dd1a0eeb43e.zip
AS guide: removes docs for none?, 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.textile10
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index a30d18eaf0..14b60cdd2e 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -958,16 +958,6 @@ If an optional block is given +many?+ only takes into account those elements tha
@see_more = videos.many? {|video| video.category == params[:category]}
</ruby>
-h4. +none?+
-
-The method +none?+ is the negation of +any?+. It yields elements to a block and returns true if none of them matches:
-
-<ruby>
-success = responses.none? {|r| r.status / 100 == 5}
-</ruby>
-
-Ruby 1.8.7 and later already have +none?+, Active Support defines it for previous versions.
-
h3. Extensions to +Array+
h4. Accessing