This reverts commit 3b06f3c2594571cdfc5f605be69ad74f33fa2637.
I think the testing on that PR is insufficient, because method definitions that come immediately after the sclass definition get busted. For example, this will break:
class Example
class << self
def show
end
end
def another_method!; end
end
This reverts commit 3b06f3c2594571cdfc5f605be69ad74f33fa2637.
I think the testing on that PR is insufficient, because method definitions that come immediately after the sclass definition get busted. For example, this will break: