class Pry::CodeObject

def empty_lookup

lookup the 'current object' from the binding.
when no paramter is given (i.e CodeObject.lookup(nil)), then we
def empty_lookup
  return nil if str && !str.empty?
  obj = if internal_binding?(target)
          mod = target_self.is_a?(Module) ? target_self : target_self.class
          Pry::WrappedModule(mod)
        else
          Pry::Method.from_binding(target)
        end
  # respect the super level (i.e user might have specified a
  # --super flag to show-source)
  lookup_super(obj, super_level)
end