Sha256: 3d7d9a63e27a12137b212d2a2512f64a46c89c4e8cd8941d506fa8908dcc613e
Contents?: true
Size: 338 Bytes
Versions: 22
Compression:
Stored size: 338 Bytes
Contents
module MetricFu module Formatter class YAML include MetricFu::Io DEFAULT_PATH = "report.yml" def initialize(opts={}) @options = opts @path_or_io = @options[:output] || DEFAULT_PATH end def finish write_output(MetricFu.result.as_yaml, @path_or_io) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems