Sha256: 6385c5845b0010e04f3386fe2cabc2d1d176a21835352dc10812bfb5781d6528
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 Bytes
Contents
require 'colorize' module ZombieFans::Actions module Logger def log_action action, message puts "#{action.colorize(:green)} #{message}" end def log_error message puts "#{"Error occurred:".colorize(:red)} #{message}" end def debug_page page File.write("debug.html", page.body) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zombie_fans-0.2.0 | lib/zombie_fans/actions/logger.rb |