# File lib/cucumber/formatter/json.rb, line 12 def initialize(step_mother, io, options) @io = ensure_io(io, "json") @io.write('{"features":[') super(Gherkin::Formatter::JSONFormatter.new(@io), false) end