class Cucumber::Formatter::Gpretty

The formatter used for --format gpretty

Public Class Methods

new(step_mother, io, options) click to toggle source
# File lib/cucumber/formatter/gpretty.rb, line 12
def initialize(step_mother, 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
# File lib/cucumber/formatter/gpretty.rb, line 17
def after_feature(feature)
  super
  @io.puts
end