Commit 8755b864 authored by sergio1990's avatar sergio1990

Colorized console output

Ref #13
parent 7f289103
......@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "colorize", "0.7.2"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake", ">= 10.3.0"
spec.add_development_dependency "activesupport", ">= 3.1.0"
......
require 'colorize'
module BetfairApiNgRails
module Api
module Logs
class ConsoleLogger
def write(content)
puts content
puts content.green
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment