Class Pry::REPL
In: lib/pry/repl.rb
Parent: Object

Methods

new   start   start  

Attributes

pry  [RW]  @return [Pry] The instance of {Pry} that the user is controlling.

Public Class methods

Create an instance of {REPL} wrapping the given {Pry}. @param [Pry] pry The instance of {Pry} that this {REPL} will control. @param [Hash] options Options for this {REPL} instance. @option options [Object] :target The initial target of the session.

Instantiate a new {Pry} instance with the given options, then start a {REPL} instance wrapping it. @option options See {Pry#initialize}

Public Instance methods

Start the read-eval-print loop. @return [Object?] If the session throws `:breakout`, return the value

  thrown with it.

@raise [Exception] If the session throws `:raise_up`, raise the exception

  thrown with it.

[Validate]