From 3f3f8d2d08c0dc5611b7ba6f4fa01219d7dadac5 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Fri, 1 Aug 2014 14:22:14 -0400 Subject: [PATCH] Progress bars are not hints --- lib/squib/api/settings.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/squib/api/settings.rb b/lib/squib/api/settings.rb index 5967222..5089c38 100644 --- a/lib/squib/api/settings.rb +++ b/lib/squib/api/settings.rb @@ -13,10 +13,9 @@ module Squib # @param [Boolean] progress_bar enable progress bars on long-running operations # @return [nil] Returns nothing # @api public - def hint(text: nil, progress_bar: false) + def hint(text: nil) text = nil if text == :off @text_hint = text - @progress_bar.enabled = progress_bar end # Sets various defaults for this deck. Defaults can be overriden by the commands themselves