Sha256: 07ad3ceb6191ae6aa0a3993d40aad402f172d8033487b1e5568cc4dc7f6cbb95

Contents?: true

Size: 605 Bytes

Versions: 5

Compression:

Stored size: 605 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

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-3.1.0 lib/cucumber/events/step_activated.rb
cucumber-3.0.2 lib/cucumber/events/step_activated.rb
cucumber-3.0.1 lib/cucumber/events/step_activated.rb
cucumber-3.0.0 lib/cucumber/events/step_activated.rb
cucumber-3.0.0.pre.2 lib/cucumber/events/step_activated.rb