Class: Cucumber::Formatter::Steps

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/formatter/steps.rb

Overview

The formatter used for --format steps

Instance Method Summary collapse

Constructor Details

#initialize(runtime, path_or_io, options) ⇒ Steps

Returns a new instance of Steps



7
8
9
10
11
# File 'lib/cucumber/formatter/steps.rb', line 7

def initialize(runtime, path_or_io, options)
  @io = ensure_io(path_or_io)
  @options = options
  @step_definition_files = collect_steps(runtime)
end

Instance Method Details

#after_features(_features) ⇒ Object



13
14
15
# File 'lib/cucumber/formatter/steps.rb', line 13

def after_features(_features)
  print_summary
end