提交 ecf353bf 编写于 作者: Z Zachary Scott

Merge pull request #16705 from tomkadwill/documented_many_block_param

[ci skip] Updated documentation syntax of block parameter for rdoc
......@@ -817,7 +817,7 @@ def any?(&block)
# person.pets.count # => 2
# person.pets.many? # => true
#
# You can also pass a block to define criteria. The
# You can also pass a +block+ to define criteria. The
# behavior is the same, it returns true if the collection
# based on the criteria has more than one record.
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册