Class: ProgressBar::Outputs::Null
Constant Summary
ProgressBar::Output::DEFAULT_OUTPUT_STREAM
Instance Attribute Summary
#stream
Instance Method Summary
collapse
detect, #initialize, #length, #with_refresh
Instance Method Details
#bar_update_string ⇒ Object
16
17
18
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 16
def bar_update_string
''
end
|
#clear ⇒ Object
8
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 8
def clear; end
|
#clear_string ⇒ Object
12
13
14
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 12
def clear_string
''
end
|
20
21
22
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 20
def default_format
''
end
|
#eol ⇒ Object
28
29
30
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 28
def eol
''
end
|
#log(_string) ⇒ Object
9
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 9
def log(_string); end
|
#refresh ⇒ Object
10
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 10
def refresh(*); end
|
24
25
26
|
# File 'lib/ruby-progressbar/outputs/null.rb', line 24
def resolve_format(_format)
''
end
|