module Upman::Utils::Helper
Public Instance Methods
fail(msg)
click to toggle source
# File lib/upman/utils/helper.rb, line 18 def fail(msg) puts "[#{Process.pid}] [#{Time.now}] " + msg.red end
info(msg)
click to toggle source
# File lib/upman/utils/helper.rb, line 9 def info(msg) puts "[#{Process.pid}] [#{Time.now}] " + msg.blue end
success(msg)
click to toggle source
# File lib/upman/utils/helper.rb, line 22 def success(msg) puts "[#{Process.pid}] [#{Time.now}] " + msg.green end
warn(msg)
click to toggle source
# File lib/upman/utils/helper.rb, line 14 def warn(msg) puts "[#{Process.pid}] [#{Time.now}] " + msg.yellow end