Issue #6270 has been reported by jacksonwillis (Jackson Willis). ---------------------------------------- Feature #6270: add "??a" support for "not defined?(a) or a.nil?" https://bugs.ruby-lang.org/issues/6270 Author: jacksonwillis (Jackson Willis) Status: Open Priority: Low Assignee: Category: Target version: 3.0 It would work like this: ??foo #=> nil foo = nil ??foo #=> nil foo = 3 ??foo #=> true Not sure if this would be useful, just a suggestion. -- http://bugs.ruby-lang.org/