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 56
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 70
def level(name = nil)
end
level=(name) click to toggle source
# File bundler/ui/silent.rb, line 67
def level=(name)
end
no?() click to toggle source
# File bundler/ui/silent.rb, line 63
def no?
  raise "Cannot ask no? with a silent shell"
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 76
def silence
  yield
end
trace(message, newline = nil, force = false) click to toggle source
# File bundler/ui/silent.rb, line 73
def trace(message, newline = nil, force = false)
end
unprinted_warnings() click to toggle source
# File bundler/ui/silent.rb, line 80
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 59
def yes?(msg)
  raise "Cannot ask yes? with a silent shell"
end