Class: Cucumber::Distrib::Test::HookStep

Inherits:
Core::Test::HookStep
  • Object
show all
Defined in:
lib/cucumber/distrib/test.rb

Overview

Object that mimics Cucumber::Core::Test::HookStep on Leader for reporters.

Instance Method Summary collapse

Constructor Details

#initialize(test_step) ⇒ HookStep

Returns a new instance of HookStep.

Parameters:

  • test_step (Cucumber::Core::Test::Step)


42
43
44
45
46
47
# File 'lib/cucumber/distrib/test.rb', line 42

def initialize(test_step) # rubocop:disable Lint/MissingSuper
  @id = test_step.id
  @text = test_step.text
  @location = test_step.location
  @multiline_arg = test_step.multiline_arg
end