Method: SimpleCov::LastRun.write
- Defined in:
- lib/simplecov/last_run.rb
.write(json) ⇒ Object
21 22 23 24 25 |
# File 'lib/simplecov/last_run.rb', line 21 def write(json) File.open(last_run_path, "w+") do |f| f.puts JSON.pretty_generate(json) end end |