pry/pry — Issue #356: whereami shows incorrect method owner when owner is singleton class
Author: banister
Created: 2011-11-28 23:48:30+00:00
State: open
Labels: bug

e.g

`From: /home/user/workspace/ruby/project/vendor/plugins/state_machine/lib/state_machine/integrations/active_model.rb @ line 254 in StateMachine::Machine#write:`

But In the example above the owner of `write` is actually the singleton class of an instance of `StateMachine::Machine`.

This can cause confusion, as in: http://pastie.org/2936034