class Locomotive::Wagon::PullLogger
Public Class Methods
new()
click to toggle source
# 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
Private Instance Methods
subscribe(action = nil, &block)
click to toggle source
# File lib/locomotive/wagon/commands/loggers/pull_logger.rb, line 17 def subscribe(action = nil, &block) _subscribe('pull', action, &block) end