class Bundler::UI::Silent - bundler-1.15.4 Documentation

# class Bundler::UI::Silent

### Attributes

shell[W]

### Public Class Methods

new() click to toggle source

    # File lib/bundler/ui/silent.rb, line 6
    def initialize
      @warnings = []
    end

### Public Instance Methods

add_color(string, color) click to toggle source

    # File lib/bundler/ui/silent.rb, line 10
    def add_color(string, color)
      string
    end

ask(message) click to toggle source

    # File lib/bundler/ui/silent.rb, line 38
    def ask(message)
    end

confirm(message, newline = nil) click to toggle source

    # File lib/bundler/ui/silent.rb, line 17
    def confirm(message, newline = nil)
    end

debug(message, newline = nil) click to toggle source

    # File lib/bundler/ui/silent.rb, line 27
    def debug(message, newline = nil)
    end

debug?() click to toggle source

    # File lib/bundler/ui/silent.rb, line 30
    def debug?
      false
    end

error(message, newline = nil) click to toggle source

    # File lib/bundler/ui/silent.rb, line 24
    def error(message, newline = nil)
    end

info(message, newline = nil) click to toggle source

    # File lib/bundler/ui/silent.rb, line 14
    def info(message, newline = nil)
    end

level(name = nil) click to toggle source

    # File lib/bundler/ui/silent.rb, line 52
    def level(name = nil)
    end

level=(name) click to toggle source

    # File lib/bundler/ui/silent.rb, line 49
    def level=(name)
    end

no?() click to toggle source

    # File lib/bundler/ui/silent.rb, line 45
    def no?
      raise "Cannot ask no? with a silent shell"
    end

quiet?() click to toggle source

    # File lib/bundler/ui/silent.rb, line 34
    def quiet?
      false
    end

silence() { || ... } click to toggle source

    # File lib/bundler/ui/silent.rb, line 58
    def silence
      yield
    end

trace(message, newline = nil, force = false) click to toggle source

    # File lib/bundler/ui/silent.rb, line 55
    def trace(message, newline = nil, force = false)
    end

unprinted_warnings() click to toggle source

    # File lib/bundler/ui/silent.rb, line 62
    def unprinted_warnings
      @warnings
    end

warn(message, newline = nil) click to toggle source

    # File lib/bundler/ui/silent.rb, line 20
    def warn(message, newline = nil)
      @warnings |= [message]
    end

yes?(msg) click to toggle source

    # File lib/bundler/ui/silent.rb, line 41
    def yes?(msg)
      raise "Cannot ask yes? with a silent shell"
    end