Sha256: 7b8dd563655093ab6b8097a453bfc52db06ad7fee2990371464327c0ca32606d

Contents?: true

Size: 229 Bytes

Versions: 5

Compression:

Stored size: 229 Bytes

Contents

module WallE
  module Logger
    def info(message)
      log("\033[34m#{message}\033\[0m")
    end

    def error(message)
      log("\033[31m#{message}\033\[0m")
    end

    def log(message)
      puts message
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wall_e-0.1.0 lib/wall_e/logger.rb
wall_e-0.0.4 lib/wall_e/logger.rb
wall_e-0.0.3 lib/wall_e/logger.rb
wall_e-0.0.2 lib/wall_e/logger.rb
wall_e-0.0.1 lib/wall_e/logger.rb