Class: Zillabyte::Common::Progress

Inherits:
Object
  • Object
show all
Defined in:
lib/zillabyte/common/progress.rb

Instance Method Summary collapse

Instance Method Details

#display(*args) ⇒ Object



8
9
10
# File 'lib/zillabyte/common/progress.rb', line 8

def display(*args)
  puts *args
end

#error(*args) ⇒ Object



12
13
14
# File 'lib/zillabyte/common/progress.rb', line 12

def error(*args)
  puts "error: #{args.first}"
end

#update(*args) ⇒ Object



4
5
6
# File 'lib/zillabyte/common/progress.rb', line 4

def update(*args)
  display(*args)
end