Project

General

Profile

Bug #15646

Updated by alanwu (Alan Wu) 8 months ago

Repro:
```ruby
class MethodAddedSpecialCase
def self.method_added(name)
puts "#{name} added, method_defined?: #{method_defined?(name)}"
end

def hello
end

def initialize
end

def world
end
end
```

Output:
```
hello initialize added, method_defined?: true false
initialize hello added, method_defined?: false true
world added, method_defined?: true
```

Back