Class: Locomotive::Wagon::PullLogger

Inherits:
BaseLogger show all
Defined in:
lib/locomotive/wagon/commands/loggers/pull_logger.rb

Instance Method Summary collapse

Constructor Details

#initializePullLogger

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