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



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

def body
  @body
end

#pathObject (readonly)

The path to the file



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

def path
  @path
end