Class: ProgressBar::Outputs::Null

Inherits:
ProgressBar::Output show all
Defined in:
lib/ruby-progressbar/outputs/null.rb

Constant Summary

Constants inherited from ProgressBar::Output

ProgressBar::Output::DEFAULT_OUTPUT_STREAM

Instance Attribute Summary

Attributes inherited from ProgressBar::Output

#stream

Instance Method Summary collapse

Methods inherited from ProgressBar::Output

detect, #initialize, #length, #with_refresh

Constructor Details

This class inherits a constructor from ProgressBar::Output

Instance Method Details

#bar_update_stringObject



16
17
18
# File 'lib/ruby-progressbar/outputs/null.rb', line 16

def bar_update_string
  ''
end

#clearObject



8
# File 'lib/ruby-progressbar/outputs/null.rb', line 8

def clear;        end

#clear_stringObject



12
13
14
# File 'lib/ruby-progressbar/outputs/null.rb', line 12

def clear_string
  ''
end

#default_formatObject



20
21
22
# File 'lib/ruby-progressbar/outputs/null.rb', line 20

def default_format
  ''
end

#eolObject



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

#refreshObject



10
# File 'lib/ruby-progressbar/outputs/null.rb', line 10

def refresh(*);   end

#resolve_format(_format) ⇒ Object



24
25
26
# File 'lib/ruby-progressbar/outputs/null.rb', line 24

def resolve_format(_format)
  ''
end