Method: Jasmine::CiRunner#initialize

Defined in:
lib/jasmine/ci_runner.rb

#initialize(config, options = {}) ⇒ CiRunner



3
4
5
6
7
8
9
10
11
# File 'lib/jasmine/ci_runner.rb', line 3

def initialize(config, options={})
  @config = config
  @thread = options.fetch(:thread, Thread)
  @application_factory = options.fetch(:application_factory, Jasmine::Application)
  @server_factory = options.fetch(:server_factory, Jasmine::Server)
  @outputter = options.fetch(:outputter, Kernel)
  @random = options.fetch(:random, config.random)
  @seed = options.has_key?(:seed) ? "&seed=#{options[:seed]}" : ''
end