Class: Cucumber::Distrib::Events::GherkinSourceParsed

Inherits:
Event
  • Object
show all
Defined in:
lib/cucumber/distrib/events.rb

Overview

Object that mimics Cucumber::Event::GherkinSourceParsed on Leader for reporters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Event

event_id, #metadata

Constructor Details

#initialize(event) ⇒ GherkinSourceParsed

Returns a new instance of GherkinSourceParsed.



175
176
177
178
# File 'lib/cucumber/distrib/events.rb', line 175

def initialize(event)
  super()
  @gherkin_document = event.gherkin_document
end

Instance Attribute Details

#gherkin_documentObject (readonly)

Returns the value of attribute gherkin_document.



173
174
175
# File 'lib/cucumber/distrib/events.rb', line 173

def gherkin_document
  @gherkin_document
end