class Object
Public Instance Methods
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