Module: Elbas::Logger
Instance Method Summary collapse
Instance Method Details
#info(message) ⇒ Object
7 8 9 |
# File 'lib/elbas/logger.rb', line 7 def info() $stdout.puts [prefix, , "\n"].join end |
#prefix ⇒ Object
11 12 13 |
# File 'lib/elbas/logger.rb', line 11 def prefix @prefix ||= color.colorize("[ELBAS] ", :cyan) end |