From 70babd4ebbeec56623d7310352f7b2b6b916c5fb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 19 Nov 2008 12:19:11 +0100 Subject: Update doc to make more sense --- activesupport/lib/active_support/core_ext/enumerable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') 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? -- cgit v1.2.3