Method: Pry::Method::WeirdMethodLocator#find_method

Defined in:
lib/pry/method/weird_method_locator.rb

#find_methodPry::Method?

Returns The Pry::Method that matches the given binding.

Returns:

  • (Pry::Method, nil)

    The Pry::Method that matches the given binding.



62
63
64
# File 'lib/pry/method/weird_method_locator.rb', line 62

def find_method
  find_method_in_superclass || find_renamed_method
end