    # File lib/facets/more/progressbar.rb, line 211
      def set (count)
        if count < 0
          raise "invalid count less than zero: #{count}"
        elsif count > @total
          if @total_overflow
            @total = count + 1
          else
            raise "invalid count greater than total: #{count}"
          end
        end
        @current = count
        show_progress
        @previous = @current
      end