Module: DRG::Tasks::Log

Included in:
ActivePinner, Pinner, Updater, UpgradeFile
Defined in:
lib/drg/tasks/log.rb

Class Method Summary collapse

Class Method Details

.log(msg = nil, color = :green) ⇒ Object



6
7
8
9
# File 'lib/drg/tasks/log.rb', line 6

def log(msg = nil, color = :green)
  HighLine.new.say %Q(  <%= color('#{msg}', :#{color}) %>)
  $stdout.flush
end