Update doc to make more sense
This commit is contained in:
parent
291d199de1
commit
70babd4ebb
@ -107,7 +107,7 @@ def many?(&block)
|
||||
|
||||
# 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?
|
||||
|
Loading…
Reference in New Issue
Block a user