Skip to content

Commit

Permalink
Allow options to be passed through to Pry.start.
Browse files Browse the repository at this point in the history
  • Loading branch information
findchris authored and Mon-Ouie committed Aug 2, 2013
1 parent 64d6668 commit 54afde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pry-remote.rb
Expand Up @@ -135,6 +135,7 @@ def self.run(object, host = DefaultHost, port = DefaultPort, options = {})
def initialize(object, host = DefaultHost, port = DefaultPort, options = {})
@host = host
@port = port

@object = object
@options = options

Expand Down Expand Up @@ -198,7 +199,6 @@ def teardown
# Actually runs pry-remote
def run
setup

Pry.start(@object, @options.merge(:input => client.input_proxy, :output => client.output))
ensure
teardown
Expand Down

0 comments on commit 54afde9

Please sign in to comment.