Class: Gurke::Runner::DRbClient

Inherits:
Gurke::Runner show all
Defined in:
lib/gurke/runner.rb

Instance Attribute Summary

Attributes inherited from Gurke::Runner

#config, #options

Instance Method Summary collapse

Methods inherited from Gurke::Runner

#builder, #hook, #initialize, #reporter, #retries, #with_filtered_backtrace

Constructor Details

This class inherits a constructor from Gurke::Runner

Instance Method Details

#run(files) ⇒ Object



90
91
92
93
94
95
96
97
98
# File 'lib/gurke/runner.rb', line 90

def run(files)
  require 'drb'

  DRb.start_service
  $stdout.puts 'Connect to DRb server...'

  srv = DRbObject.new_with_uri DRbServer::URI
  srv.run_remote options, files, reporter
end