Class: AppMap::Cucumber::ProviderStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/appmap/cucumber.rb

Direct Known Subclasses

Provider4, ProviderBefore4

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#scenarioObject

Returns the value of attribute scenario

Returns:

  • (Object)

    the current value of scenario



14
15
16
# File 'lib/appmap/cucumber.rb', line 14

def scenario
  @scenario
end

Instance Method Details

#feature_groupObject



15
16
17
18
# File 'lib/appmap/cucumber.rb', line 15

def feature_group
  # e.g. <Cucumber::Core::Ast::Location::Precise: cucumber/api/features/authenticate.feature:1>
  feature_path.split("/").last.split(".")[0]
end