class Chelsea::JsonFormatter

Produce output in json format

Public Class Methods

new(options) click to toggle source
Calls superclass method Formatter::new
# File lib/chelsea/formatters/json.rb, line 25
def initialize(options)
  super()
  @options = options
end

Public Instance Methods

do_print(result) click to toggle source
# File lib/chelsea/formatters/json.rb, line 34
def do_print(result)
  puts result
end
fetch_results(server_response, _reverse_deps) click to toggle source
# File lib/chelsea/formatters/json.rb, line 30
def fetch_results(server_response, _reverse_deps)
  server_response.to_json
end