class Glue::JSONReporter

Attributes

format[RW]
name[RW]

Public Class Methods

new() click to toggle source
# File lib/glue/reporters/json_reporter.rb, line 12
def initialize()
  @name = "JSONReporter"
  @format = :to_json
end

Public Instance Methods

out(finding) click to toggle source
# File lib/glue/reporters/json_reporter.rb, line 17
def out(finding)
  finding.to_json
end