Class: Cucumber::Events::GherkinSourceRead

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/events/gherkin_source_read.rb', line 8

def path
  @path
end