Class: Bundler::UI::Silent
| Relationships & Source Files | |
| Inherits: | Object | 
| Defined in: | lib/bundler/ui/silent.rb | 
Class Method Summary
- .new ⇒ Silent constructor
Instance Attribute Summary
- #debug? ⇒ Boolean readonly
- #level(name = nil) rw
- #level=(name) rw
- #no? ⇒ Boolean readonly
- #quiet? ⇒ Boolean readonly
- #shell=(value) writeonly
Instance Method Summary
Constructor Details
    .new  ⇒ Silent 
  
# File 'lib/bundler/ui/silent.rb', line 8
def initialize @warnings = [] end
Instance Attribute Details
    #debug?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/bundler/ui/silent.rb', line 32
def debug? false end
#level(name = nil) (rw)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 54
def level(name = nil) end
#level=(name) (rw)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 51
def level=(name) end
    #no?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/bundler/ui/silent.rb', line 47
def no? raise "Cannot ask no? with a silent shell" end
    #quiet?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/bundler/ui/silent.rb', line 36
def quiet? false end
#shell=(value) (writeonly)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 6
attr_writer :shell
Instance Method Details
#add_color(string, color)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 12
def add_color(string, color) string end
#ask(message)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 40
def ask() end
#confirm(message, newline = nil)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 19
def confirm(, newline = nil) end
#debug(message, newline = nil) (readonly)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 29
def debug(, newline = nil) end
#error(message, newline = nil)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 26
def error(, newline = nil) end
#info(message, newline = nil)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 16
def info(, newline = nil) end
#silence
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 60
def silence yield end
#trace(message, newline = nil, force = false)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 57
def trace(, newline = nil, force = false) end
#unprinted_warnings
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 64
def unprinted_warnings @warnings end
#warn(message, newline = nil)
[ GitHub ]# File 'lib/bundler/ui/silent.rb', line 22
def warn(, newline = nil) @warnings |= [] end
    #yes?(msg)  ⇒ Boolean 
  
# File 'lib/bundler/ui/silent.rb', line 43
def yes?(msg) raise "Cannot ask yes? with a silent shell" end