Namespace

Files

Mutter

Constants

ANSI

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).

Public Class Methods

indenter(tab) click to toggle source
    # File lib/mutter.rb, line 42
42:   def self.indenter tab
43:     Indenter.new tab
44:   end
new(*args) click to toggle source
    # File lib/mutter.rb, line 58
58:   def self.new *args
59:     Mutterer.new(*args)
60:   end
process(*args) click to toggle source
    # File lib/mutter.rb, line 54
54:   def self.process *args
55:     new.process *args
56:   end
say(*args) click to toggle source
    # File lib/mutter.rb, line 46
46:   def self.say *args
47:     new.say *args
48:   end
stylize(*args) click to toggle source
    # File lib/mutter.rb, line 50
50:   def self.stylize *args
51:     new.stylize *args
52:   end

Public Instance Methods

oo() click to toggle source
Alias for: watch
watch() click to toggle source

Utility function, to make a block interruptible

    # File lib/mutter.rb, line 65
65:   def watch
66:     begin
67:       yield
68:     rescue Interrupt
69:       puts
70:       exit 0
71:     end
72:   end
Also aliased as: oo

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.