Class: Parklife::Reporter::Progress

Inherits:
Base
  • Object
show all
Defined in:
lib/parklife/reporter/progress.rb

Constant Summary

Constants inherited from Base

Base::STATUS_COLOUR

Instance Attribute Summary

Attributes inherited from Base

#logger

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Parklife::Reporter::Base

Instance Method Details

#finishObject



7
8
9
# File 'lib/parklife/reporter/progress.rb', line 7

def finish
  puts
end

#visit(_route, response) ⇒ Object



11
12
13
# File 'lib/parklife/reporter/progress.rb', line 11

def visit(_route, response)
  print colour('.', *STATUS_COLOUR[response.status])
end