Project

General

Profile

Actions

Feature #8825

closed

Symbol Argument to any?

Added by kyledecot (Kyle Decot) about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:56833]

Description

It would be nice if any? could take a symbol much like map. For example:

foo.any?(&:bar)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0