Class: Locomotive::Wagon::PullLogger
- Inherits:
-
BaseLogger
- Object
- BaseLogger
- Locomotive::Wagon::PullLogger
- Defined in:
- lib/locomotive/wagon/commands/loggers/pull_logger.rb
Instance Method Summary collapse
-
#initialize ⇒ PullLogger
constructor
A new instance of PullLogger.
Constructor Details
#initialize ⇒ PullLogger
Returns a new instance of PullLogger.
7 8 9 10 11 12 13 |
# File 'lib/locomotive/wagon/commands/loggers/pull_logger.rb', line 7 def initialize subscribe :start do |event| log "\n" log "Pulling #{event.payload[:name].camelcase}", { color: :black, background: :white } end end |