aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/enumerable.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-19 12:19:11 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-19 12:19:11 +0100
commit70babd4ebbeec56623d7310352f7b2b6b916c5fb (patch)
treedaef51fff750562e93f92aaf717764da2480a3ee /activesupport/lib/active_support/core_ext/enumerable.rb
parent291d199de1271c254c44b94766d13013b222a125 (diff)
downloadrails-70babd4ebbeec56623d7310352f7b2b6b916c5fb.tar.gz
rails-70babd4ebbeec56623d7310352f7b2b6b916c5fb.tar.bz2
rails-70babd4ebbeec56623d7310352f7b2b6b916c5fb.zip
Update doc to make more sense
Diffstat (limited to 'activesupport/lib/active_support/core_ext/enumerable.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/enumerable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/enumerable.rb b/activesupport/lib/active_support/core_ext/enumerable.rb
index 12659d7008..26596d838d 100644
--- a/activesupport/lib/active_support/core_ext/enumerable.rb
+++ b/activesupport/lib/active_support/core_ext/enumerable.rb
@@ -107,7 +107,7 @@ module Enumerable
# Returns true if none of the elements match the given block.
#
- # success = responses.none? {|r| r.status / 100 == 3 }
+ # success = responses.none? {|r| r.status / 100 == 5 }
#
def none?(&block)
return true if !block_given? || blank?