Method: Pry#repl

Defined in:
lib/pry/pry_instance.rb

#repl(target = nil) ⇒ Object

Potentially deprecated. Use Pry::REPL.new(pry, :target => target).start (If nested sessions are going to exist, this method is fine, but a goal is to come up with an alternative to nested sessions altogether.)



280
281
282
# File 'lib/pry/pry_instance.rb', line 280

def repl(target = nil)
  Pry::REPL.new(self, target: target).start
end