lib/cms_scanner/finders/finder/enumerator.rb in cms_scanner-0.0.15 vs lib/cms_scanner/finders/finder/enumerator.rb in cms_scanner-0.0.16

- old
+ new

@@ -42,14 +42,22 @@ # @return [ ProgressBar ] # :nocov: def progress_bar(total) ProgressBar.create( format: '%t %a <%B> (%c / %C) %P%% %e', - title: ' ', # Used to craete a left margin + title: progress_bar_title, total: total ) end # :nocov: + + # Progress Bar title to use, allow instance using this module + # to display a custom title if needed + # + # @return [ String ] + def progress_bar_title + ' ' # Used to create a left margin + end # @return [ CMSScanner::Browser ] def browser @browser ||= NS::Browser.instance end