mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
![]() 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 |