Actions
Bug #11212
closeddefined?(foo()) ignores respond_to_missing?
Description
class C
def respond_to_missing? *args
true
end
def test
p defined?(non_exist_method())
end
end
C.new.test
This script prints only nil
. It ignores respond_to_missing?
.
It should be a bug.
Updated by jeremyevans0 (Jeremy Evans) almost 6 years ago
- Status changed from Open to Closed
Fixed by a54da1c05058d9f873f28c317677c5393d7327c9.
Actions
Like0
Like0