lib/rmega/progress.rb in rmega-0.2.2 vs lib/rmega/progress.rb in rmega-0.2.4

- old
+ new

@@ -70,9 +70,10 @@ @total == @bytes end def increment(bytes, options = {}) @mutex.synchronize do + @caption = options[:caption] if options[:caption] @bytes += bytes @real_bytes += bytes unless options[:real] == false show end end