class Cucumber::Formatter::Gpretty
The formatter used for --format gpretty
Public Class Methods
new(runtime, io, options)
click to toggle source
Calls superclass method
Cucumber::Formatter::GherkinFormatterAdapter.new
# File lib/cucumber/formatter/gpretty.rb, line 12 def initialize(runtime, io, options) @io = ensure_io(io, "json") super(Gherkin::Formatter::PrettyFormatter.new(@io, false), true) end
Public Instance Methods
after_feature(feature)
click to toggle source
Calls superclass method
Cucumber::Formatter::GherkinFormatterAdapter#after_feature
# File lib/cucumber/formatter/gpretty.rb, line 17 def after_feature(feature) super @io.puts end