Class: Parklife::Reporter::Progress
- Inherits:
-
Base
- Object
- Base
- Parklife::Reporter::Progress
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
Instance Method Details
#finish ⇒ Object
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
|