Method: Quality::Runner#write_violations
- Defined in:
- lib/quality/runner.rb
#write_violations(filename, new_violations) ⇒ Object
70 71 72 73 74 |
# File 'lib/quality/runner.rb', line 70 def write_violations(filename, new_violations) @count_file.open(filename, 'w') do |file| file.write(new_violations.to_s + "\n") end end |