Class: ProgressBar::Silent

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/silent_progress_bar.rb

Class Method Summary collapse

Class Method Details

.flushObject



13
14
15
# File 'lib/ext/silent_progress_bar.rb', line 13

def self.flush
  self
end


9
10
11
# File 'lib/ext/silent_progress_bar.rb', line 9

def self.print(str)
  str
end

.tty?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/ext/silent_progress_bar.rb', line 5

def self.tty?
  true
end