Sha256: 269f370cd20a35278afc508c171a5a82235f8bad0fb4e552a8a98e2c35060c82

Contents?: true

Size: 609 Bytes

Versions: 21

Compression:

Stored size: 609 Bytes

Contents

# frozen_string_literal: true

require 'cucumber/core/events'

module Cucumber
  module Events
    # Event fired when a step is activated
    class StepActivated < Core::Event.new(:test_step, :step_match)
      # The test step that was matched.
      #
      # @return [Cucumber::Core::Test::Step]
      attr_reader :test_step

      # Information about the matching definition.
      #
      # @return [Cucumber::StepMatch]
      attr_reader :step_match

      # @private
      def initialize(test_step, step_match)
        @test_step = test_step
        @step_match = step_match
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/cucumber-7.1.0/lib/cucumber/events/step_activated.rb
cucumber-7.1.0 lib/cucumber/events/step_activated.rb
cucumber-7.0.0 lib/cucumber/events/step_activated.rb
cucumber-6.1.0 lib/cucumber/events/step_activated.rb
cucumber-6.0.0 lib/cucumber/events/step_activated.rb
cucumber-5.3.0 lib/cucumber/events/step_activated.rb
cucumber-5.2.0 lib/cucumber/events/step_activated.rb
cucumber-5.1.3 lib/cucumber/events/step_activated.rb
cucumber-5.1.2 lib/cucumber/events/step_activated.rb
cucumber-5.1.1 lib/cucumber/events/step_activated.rb
cucumber-5.1.0 lib/cucumber/events/step_activated.rb
cucumber-5.0.0 lib/cucumber/events/step_activated.rb
cucumber-4.1.0 lib/cucumber/events/step_activated.rb
cucumber-4.0.1 lib/cucumber/events/step_activated.rb
cucumber-4.0.0 lib/cucumber/events/step_activated.rb
cucumber-4.0.0.rc.6 lib/cucumber/events/step_activated.rb
cucumber-4.0.0.rc.5 lib/cucumber/events/step_activated.rb
cucumber-4.0.0.rc.4 lib/cucumber/events/step_activated.rb
cucumber-4.0.0.rc.3 lib/cucumber/events/step_activated.rb
cucumber-4.0.0.rc.2 lib/cucumber/events/step_activated.rb