class SYMBOLS::Log
Public Class Methods
new()
click to toggle source
# File lib/symbols.rb, line 31 def initialize @SYMBOL = if main_supported MAIN_SYMBOLS else FALLBACK_SYMBOLS end end
Public Instance Methods
error()
click to toggle source
# File lib/symbols.rb, line 51 def error @SYMBOL[:error].colorize(:red) end
info()
click to toggle source
# File lib/symbols.rb, line 39 def info @SYMBOL[:info].colorize(:blue) end
success()
click to toggle source
# File lib/symbols.rb, line 43 def success @SYMBOL[:success].colorize(:green) end
warning()
click to toggle source
# File lib/symbols.rb, line 47 def warning @SYMBOL[:warning].colorize(:yellow) end