ANSI color & transform codes
If the value's an array, [0] is the start code and [1] is the end code. Colors all have the same reset code (39).
# File lib/mutter.rb, line 42 def self.indenter tab Indenter.new tab end
# File lib/mutter.rb, line 58 def self.new *args Mutterer.new(*args) end
# File lib/mutter.rb, line 54 def self.process *args new.process *args end
# File lib/mutter.rb, line 46 def self.say *args new.say *args end
# File lib/mutter.rb, line 50 def self.stylize *args new.stylize *args end
Utility function, to make a block interruptible
# File lib/mutter.rb, line 65 def watch begin yield rescue Interrupt puts exit 0 end end