Class: ParallelCucumber::Job

Inherits:
Object
  • Object
show all
Defined in:
lib/parallel_cucumber/job.rb

Constant Summary collapse

RUN_TESTS =
:run_tests
PRECHECK =
:precheck
DIE =
:die

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, details = nil) ⇒ Job

Returns a new instance of Job.



8
9
10
11
# File 'lib/parallel_cucumber/job.rb', line 8

def initialize(type, details = nil)
  @type = type
  @details = details
end

Instance Attribute Details

#detailsObject

Returns the value of attribute details.



7
8
9
# File 'lib/parallel_cucumber/job.rb', line 7

def details
  @details
end

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/parallel_cucumber/job.rb', line 7

def type
  @type
end