Actions
Bug #10778
closed`defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
Description
defined? is an operator not a method, its operand is defined as the expressions to its right.
It does not even require a space: defined?a
So defined?(a)
should be equivalent to defined? (a)
instead of (defined? a)
Actions
Like0
Like0Like0Like0