提交 70babd4e 编写于 作者: D David Heinemeier Hansson

Update doc to make more sense

上级 291d199d
......@@ -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?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册