class Pry::CodeObject

def sourcable_object?(obj)

def sourcable_object?(obj)
  [::Proc, ::Method, ::UnboundMethod].any? { |o| obj.is_a?(o) }
end