Class: Object

Inherits:
BasicObject
Defined in:
lib/pry-remote-em.rb

Instance Method Summary collapse

Instance Method Details

#remote_pry_em(host = PryRemoteEm::DEFHOST, port = PryRemoteEm::DEFPORT, opts = {:tls => false}, &blk) ⇒ Object



23
24
25
26
# File 'lib/pry-remote-em.rb', line 23

def remote_pry_em(host = PryRemoteEm::DEFHOST, port = PryRemoteEm::DEFPORT, opts = {:tls => false}, &blk)
  opts = {:target => self}.merge(opts)
  PryRemoteEm::Server.run(opts[:target], host, port, opts, &blk)
end