Actions
Bug #11980
closedExternal methods are appearing as instance methods for String
Bug #11980:
External methods are appearing as instance methods for String
Description
It appears we're having methods creep into the String scope.
"".methods.count
# => 170
defined? "".a
# => nil
def a
"foo"
end
"".methods.count
# => 171
defined? "".a
# => "method"
"bar".a
# => "foo"
Actions