class Cucumber::Formatter::Json

The formatter used for --format json

Public Class Methods

new(step_mother, io, options) click to toggle source
# File lib/cucumber/formatter/json.rb, line 12
def initialize(step_mother, io, options)
  @io = ensure_io(io, "json")
  super(Gherkin::Formatter::JSONFormatter.new(@io), false)
end