Method: Pry::Method::WeirdMethodLocator#initialize

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

#initialize(method, target) ⇒ WeirdMethodLocator

Returns a new instance of WeirdMethodLocator.

Parameters:

  • method (Pry::Method)

    The seed method.

  • target (Binding)

    The Binding that captures the method we want to locate.



55
56
57
58
# File 'lib/pry/method/weird_method_locator.rb', line 55

def initialize(method, target)
  @method = method
  @target = target
end