class Greener::Formatter::Progress

Print progress in real-time

Public Instance Methods

file_finished(violations) click to toggle source
# File lib/greener/formatter/progress.rb, line 7
def file_finished(violations)
  if violations.empty?
    print "."
  else
    print "F"
  end
end
finished(_violations) click to toggle source
# File lib/greener/formatter/progress.rb, line 15
def finished(_violations)
  puts ""
  puts ""
end