Parent

Bundler::UI::Shell

Public Class Methods

new(shell) click to toggle source
    # File lib/bundler/ui.rb, line 16
16:       def initialize(shell)
17:         @shell = shell
18:         @quiet = false
19:       end

Public Instance Methods

be_quiet!() click to toggle source
    # File lib/bundler/ui.rb, line 41
41:       def be_quiet!
42:         @quiet = true
43:       end
confirm(msg) click to toggle source
    # File lib/bundler/ui.rb, line 29
29:       def confirm(msg)
30:         @shell.say(msg, :green) if !@quiet
31:       end
debug(msg) click to toggle source
    # File lib/bundler/ui.rb, line 21
21:       def debug(msg)
22:         @shell.say(msg) if ENV['DEBUG'] && !@quiet
23:       end
error(msg) click to toggle source
    # File lib/bundler/ui.rb, line 37
37:       def error(msg)
38:         @shell.say(msg, :red)
39:       end
info(msg) click to toggle source
    # File lib/bundler/ui.rb, line 25
25:       def info(msg)
26:         @shell.say(msg) if !@quiet
27:       end
warn(msg) click to toggle source
    # File lib/bundler/ui.rb, line 33
33:       def warn(msg)
34:         @shell.say(msg, :yellow)
35:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.