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, #with_filtered_backtrace

Constructor Details

This class inherits a constructor from Gurke::Runner

Instance Method Details

#run(files) ⇒ Object



77
78
79
80
81
82
83
84
85
# File 'lib/gurke/runner.rb', line 77

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