Sha256: 9a71542c5fac9c0eb3b91919da05b8be369252c3060d94d1e8065f02f723fc3a

Contents?: true

Size: 506 Bytes

Versions: 5

Compression:

Stored size: 506 Bytes

Contents

# frozen_string_literal: true
require 'cucumber/core/events'

module Cucumber
  module Events

    # Event fired after each step definition has been registered
    class StepDefinitionRegistered < Core::Event.new(:step_definition)


      #_The step definition that was just registered.
      #
      # @return [RbSupport::RbStepDefinition]
      attr_reader :step_definition

      #_@private
      def initialize(step_definition)
        @step_definition = step_definition
      end

    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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