Class: Cucumber::Events::StepDefinitionRegistered

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/step_definition_registered.rb

Overview

Event fired after each step definition has been registered

Instance Attribute Summary collapse

Instance Attribute Details

#step_definitionRbSupport::RbStepDefinition (readonly)

The step definition that was just registered.

Returns:

  • (RbSupport::RbStepDefinition)


12
13
14
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/events/step_definition_registered.rb', line 12

def step_definition
  @step_definition
end