Class: Contraption::Previewer

Inherits:
Orchestrator show all
Defined in:
lib/contraption/previewer.rb

Constant Summary collapse

PORT =
9009

Instance Method Summary collapse

Methods inherited from Orchestrator

#initialize, #run!

Constructor Details

This class inherits a constructor from Contraption::Orchestrator

Instance Method Details

#post_runObject



7
8
9
10
# File 'lib/contraption/previewer.rb', line 7

def post_run
  trap("INT") { cleanup }
  spawn_server
end