On this page
class Bundler::UI::Silent
Attributes
shell[W]
Public Class Methods
# File lib/bundler/ui/silent.rb, line 8
def initialize
@warnings = []
end
Public Instance Methods
# File lib/bundler/ui/silent.rb, line 12
def add_color(string, color)
string
end
# File lib/bundler/ui/silent.rb, line 40
def ask(message)
end
# File lib/bundler/ui/silent.rb, line 19
def confirm(message, newline = nil)
end
# File lib/bundler/ui/silent.rb, line 29
def debug(message, newline = nil)
end
# File lib/bundler/ui/silent.rb, line 32
def debug?
false
end
# File lib/bundler/ui/silent.rb, line 26
def error(message, newline = nil)
end
# File lib/bundler/ui/silent.rb, line 16
def info(message, newline = nil)
end
# File lib/bundler/ui/silent.rb, line 54
def level(name = nil)
end
# File lib/bundler/ui/silent.rb, line 51
def level=(name)
end
# File lib/bundler/ui/silent.rb, line 47
def no?
raise "Cannot ask no? with a silent shell"
end
# File lib/bundler/ui/silent.rb, line 36
def quiet?
false
end
# File lib/bundler/ui/silent.rb, line 60
def silence
yield
end
# File lib/bundler/ui/silent.rb, line 57
def trace(message, newline = nil, force = false)
end
# File lib/bundler/ui/silent.rb, line 64
def unprinted_warnings
@warnings
end
# File lib/bundler/ui/silent.rb, line 22
def warn(message, newline = nil)
@warnings |= [message]
end
# File lib/bundler/ui/silent.rb, line 43
def yes?(msg)
raise "Cannot ask yes? with a silent shell"
end
Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.