Class: SporkDebugger::PreloadState
- Inherits:
-
Object
- Object
- SporkDebugger::PreloadState
- Includes:
- NetworkHelpers
- Defined in:
- lib/spork/ext/ruby-debug.rb
Instance Method Summary collapse
- #finish ⇒ Object
-
#initialize ⇒ PreloadState
constructor
A new instance of PreloadState.
- #transition_to_each_run_state ⇒ Object
Methods included from NetworkHelpers
Constructor Details
#initialize ⇒ PreloadState
Returns a new instance of PreloadState.
46 47 48 49 |
# File 'lib/spork/ext/ruby-debug.rb', line 46 def initialize install_hook listen_for_connection_signals end |
Instance Method Details
#finish ⇒ Object
51 52 53 |
# File 'lib/spork/ext/ruby-debug.rb', line 51 def finish @tcp_service.close; @tcp_service = nil; end |
#transition_to_each_run_state ⇒ Object
55 56 57 58 |
# File 'lib/spork/ext/ruby-debug.rb', line 55 def transition_to_each_run_state finish SporkDebugger::EachRunState.new(@port) end |