Sha256: a04cdcc968524d6274a471fc8cb25d30e50ab594fd16077fe04df3f1946ee914

Contents?: true

Size: 510 Bytes

Versions: 11

Compression:

Stored size: 510 Bytes

Contents

module Cucumber
  module Events

    # Event fired when a step is matched to a definition
    class StepMatch

      # 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

11 entries across 11 versions & 2 rubygems

Version Path
cucumber-2.99.0 lib/cucumber/events/step_match.rb
mobiusloop-0.1.5 lib/cucumber/events/step_match.rb
cucumber-2.4.0 lib/cucumber/events/step_match.rb
mobiusloop-0.1.3 lib/cucumber/events/step_match.rb
mobiusloop-0.1.2 lib/cucumber/events/step_match.rb
cucumber-2.3.3 lib/cucumber/events/step_match.rb
cucumber-2.3.2 lib/cucumber/events/step_match.rb
cucumber-2.3.1 lib/cucumber/events/step_match.rb
cucumber-2.3.0 lib/cucumber/events/step_match.rb
cucumber-2.2.0 lib/cucumber/events/step_match.rb
cucumber-2.1.0 lib/cucumber/events/step_match.rb