# File lib/rabbit/progress.rb, line 22 def background=(color) @background = color setup_progress_color end
# File lib/rabbit/progress.rb, line 27 def clear_color @foreground = nil @background = nil setup_progress_color end
# File lib/rabbit/progress.rb, line 47 def end_progress return if @max.nil? @current = @max @bar.fraction = @current / @max end
# File lib/rabbit/progress.rb, line 17 def foreground=(color) @foreground = color setup_progress_color end
Generated with the Darkfish Rdoc Generator 2.