Sha256: fe44a0812ec1957f39f1e88fa9ab0f1f1ec4d2eab5a2b5a3dd88bada52ad34b7

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

require 'cucumber/core/test/step'

module Cucumber
  module Core
    module Test
      class HookStep < Step
        def initialize(id, text, location, action)
          super(id, text, location, Test::EmptyMultilineArgument.new, action)
        end

        def hook?
          true
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumber-core-15.0.0 lib/cucumber/core/test/hook_step.rb
cucumber-core-14.0.0 lib/cucumber/core/test/hook_step.rb
cucumber-core-13.0.3 lib/cucumber/core/test/hook_step.rb
cucumber-core-13.0.2 lib/cucumber/core/test/hook_step.rb