Class: Cucumber::Events::TestCaseReady

Inherits:
Base
  • Object
show all
Defined in:
lib/cucumber/events/test_case_ready.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#event_id, #to_h

Constructor Details

#initialize(test_case) ⇒ TestCaseReady

Returns a new instance of TestCaseReady.



12
13
14
15
# File 'lib/cucumber/events/test_case_ready.rb', line 12

def initialize(test_case)
  @test_case = test_case
  super()
end

Instance Attribute Details

#test_caseObject (readonly)

Returns the value of attribute test_case.



6
7
8
# File 'lib/cucumber/events/test_case_ready.rb', line 6

def test_case
  @test_case
end

Class Method Details

.event_idObject



8
9
10
# File 'lib/cucumber/events/test_case_ready.rb', line 8

def self.event_id
  :test_case_ready
end