97f1be86b2
WeirdMethodLocator is used by Pry::Method.from_binding() to locate the method captured by the binding when the naive approach fails (i.e method(binding.eval('__method__')). "WeirdMethods" include methods defined on the superclass to the 'self' of the binding, as well as methods that have subsequently been renamed/replaced. We also move Pry::Method::Disowned to its own file (disowned.rb) |
||
---|---|---|
.. | ||
disowned.rb | ||
weird_method_locator.rb |