diff options
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/enumerable.rb | 2 |
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? |