Class: Cucumber::Events::GherkinSourceRead

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

Overview

Fired after we’ve read in the contents of a feature file

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

The raw Gherkin source



11
12
13
# File 'lib/cucumber/events/gherkin_source_read.rb', line 11

def body
  @body
end

#pathObject (readonly)

The path to the file



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

def path
  @path
end