Sha256: 34d1413e621452df535ad5be576e1219b34af91e53047a9f6930525f134c5f0d
Contents?: true
Size: 345 Bytes
Versions: 10
Compression:
Stored size: 345 Bytes
Contents
class Step def progress_bar(msg = "Progress", options = nil) if Hash === msg and options.nil? options = msg msg = nil end options = {} if options.nil? max = options[:max] Open.mkdir files_dir Log::ProgressBar.new_bar(max, {:desc => msg, :file => (@exec ? nil : file(:progress))}.merge(options)) end end
Version data entries
10 entries across 10 versions & 1 rubygems