Method: Pry::Method::WeirdMethodLocator#lost_method?

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

#lost_method?Boolean

Returns Whether the Pry::Method is unrecoverable This usually happens when the method captured by the Binding has been subsequently deleted.

Returns:

  • (Boolean)

    Whether the Pry::Method is unrecoverable This usually happens when the method captured by the Binding has been subsequently deleted.



69
70
71
# File 'lib/pry/method/weird_method_locator.rb', line 69

def lost_method?
  !!(find_method.nil? && renamed_method_source_location)
end