Actions
Feature #20793
closedAllow Multiple Arguments for the .is_a? Method
Feature #20793:
Allow Multiple Arguments for the .is_a? Method
Status:
Rejected
Assignee:
-
Target version:
-
Description
I propose allowing multiple arguments to be passed to the .is_a? Method imply "OR" semantics:
name.is_a? String, Symbol
Currently, we need to write the following to achieve the same functionality:
[String, Symbol].include?(name.class)
Actions