Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/pry-remote-em.rb
Instance Method Summary collapse
- #remote_pry_em(host = nil, port = nil, options = {}, &block) ⇒ Object (also: #pry_remote_em)
Instance Method Details
#remote_pry_em(host = nil, port = nil, options = {}, &block) ⇒ Object Also known as: pry_remote_em
30 31 32 33 34 35 |
# File 'lib/pry-remote-em.rb', line 30 def remote_pry_em(host = nil, port = nil, = {}, &block) host, = nil, host if host.kind_of?(Hash) # Support for options hash as first argument instead of third = { target: self, host: host, port: port }.merge() PryRemoteEm::Server.run(, &block) end |