lib/flare_up/emitter.rb in flare-up-0.6 vs lib/flare_up/emitter.rb in flare-up-0.7

- old
+ new

@@ -13,9 +13,19 @@ def self.error(message) $stderr.puts sanitize("\x1b[31m#{message}") unless ENV['TESTING'] end # TODO: How do we test this? + def self.success(message) + $stdout.puts sanitize("\x1b[32m#{message}") unless ENV['TESTING'] + end + + # TODO: How do we test this? + def self.warn(message) + $stdout.puts sanitize("\x1b[33m#{message}") unless ENV['TESTING'] + end + + # TODO: How do we test this? def self.info(message) $stdout.puts sanitize(message) unless ENV['TESTING'] end # TODO: How do we test this? \ No newline at end of file