class Object

Public Instance Methods

pry_remote_em(host = nil, port = nil, options = {}, &block)
Alias for: remote_pry_em
remote_pry_em(host = nil, port = nil, options = {}, &block) click to toggle source
# File lib/pry-remote-em.rb, line 30
def remote_pry_em(host = nil, port = nil, options = {}, &block)
  host, options = nil, host if host.kind_of?(Hash) # Support for options hash as first argument instead of third

  options = { target: self, host: host, port: port }.merge(options)
  PryRemoteEm::Server.run(options, &block)
end
Also aliased as: pry_remote_em