Method: Console::Logger#progress

Defined in:
lib/console/logger.rb

#progress(subject, total, **options) ⇒ Object

Create a progress indicator for the given subject.



60
61
62
63
64
# File 'lib/console/logger.rb', line 60

def progress(subject, total, **options)
  options[:severity] ||= :info
  
  Progress.new(subject, total, **options)
end