Class: ElasticResults::Cucumber::Formatter

Inherits:
Cucumber::Formatter::GherkinFormatterAdapter
  • Object
show all
Defined in:
lib/elastic_results/cucumber.rb

Overview

A format adapter that uses our special JSON formatter

Instance Method Summary collapse

Constructor Details

#initialize(_runtime, _io, options) ⇒ Formatter

Returns a new instance of Formatter.



64
65
66
67
# File 'lib/elastic_results/cucumber.rb', line 64

def initialize(_runtime, _io, options)
  options[:expand] = true
  super(ElasticResults::Cucumber::JSONFormatter.new, false, options)
end