class Bundler::UI::Silent - bundler: Ruby Standard Library Documentation

# class Bundler::UI::Silent

### Attributes

shell[W]

### Public Class Methods

new() click to toggle source

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

### Public Instance Methods

add_color(string, color) click to toggle source

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

ask(message) click to toggle source

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

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

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

confirm?() click to toggle source

    # File bundler/ui/silent.rb, line 32
    def confirm?
      false
    end

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

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

debug?() click to toggle source

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

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

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

error?() click to toggle source

    # File bundler/ui/silent.rb, line 36
    def error?
      false
    end

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

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

info?() click to toggle source

    # File bundler/ui/silent.rb, line 44
    def info?
      false
    end

level(name = nil) click to toggle source

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

level=(name) click to toggle source

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

no?(msg) click to toggle source

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

output_stream() click to toggle source

    # File bundler/ui/silent.rb, line 59
    def output_stream
      nil
    end

output_stream=(_symbol) click to toggle source

    # File bundler/ui/silent.rb, line 56
    def output_stream=(_symbol)
    end

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

    # File bundler/ui/silent.rb, line 87
    def progress
      yield
    end

quiet?() click to toggle source

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

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

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

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

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

unprinted_warnings() click to toggle source

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

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

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

warn?() click to toggle source

    # File bundler/ui/silent.rb, line 52
    def warn?
      false
    end

yes?(msg) click to toggle source

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