class PryRemote::Server
Public Instance Methods
run()
click to toggle source
Override the call to Pry.start
to save off current Server
, pass a pry_remote flag so pry-nav knows this is a remote session, and not kill the server right away
# File lib/pry-nav/pry_remote_ext.rb, line 9 def run if PryNav.current_remote_server raise 'Already running a pry-remote session!' else PryNav.current_remote_server = self end setup Pry.start( @object, input: client.input_proxy, output: client.output, pry_remote: true, ) end