lib/semmy/shell.rb in semmy-0.2.1 vs lib/semmy/shell.rb in semmy-0.3.0
- old
+ new
@@ -8,9 +8,17 @@
def info(text)
say(text, :green)
end
+ def error(text)
+ say(text, :red)
+ end
+
+ def sub_process_output(text)
+ say(text, :yellow)
+ end
+
private
def say(text, color)
puts(Rainbow(text).color(color)) unless silence
end