Sha256: 7746ccda5a9a02f70bdad16e5fbed67abbd8e8072f1f5c56752347ae7cef42ef

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 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, @step_match = test_step, step_match
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
cucumber-3.2.0 lib/cucumber/events/step_activated.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/cucumber-3.1.2/lib/cucumber/events/step_activated.rb
cucumber-3.1.2 lib/cucumber/events/step_activated.rb
cucumber-3.1.1 lib/cucumber/events/step_activated.rb