Issue #1303 has been updated by Heesob Park.


Agreed

Considering

def f; 123; end
defined? f    #=> "method"
defined? f()  #=> "method"
f=nil
defined? f    #=> "local-variable"
defined? f()  #=> "method"

Calling a method with () is safe always.


----------------------------------------
http://redmine.ruby-lang.org/issues/show/1303

----------------------------------------
http://redmine.ruby-lang.org