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