class Pry::Method::Disowned

A Disowned Method is one that’s been removed from the class on which it was defined.

e.g. class C

def foo
  C.send(:undefine_method, :foo)
  Pry::Method.from_binding(binding)
end

end

In this case we assume that the “owner” is the singleton class of the receiver.

This occurs mainly in Sinatra applications.