Class: Imap::Backup::Setup::GlobalOptions::DownloadStrategyChooser
- Inherits:
-
Object
- Object
- Imap::Backup::Setup::GlobalOptions::DownloadStrategyChooser
- Defined in:
- lib/imap/backup/setup/global_options/download_strategy_chooser.rb
Instance Method Summary collapse
-
#initialize(config:) ⇒ DownloadStrategyChooser
constructor
A new instance of DownloadStrategyChooser.
- #run ⇒ Object
Constructor Details
#initialize(config:) ⇒ DownloadStrategyChooser
Returns a new instance of DownloadStrategyChooser.
9 10 11 |
# File 'lib/imap/backup/setup/global_options/download_strategy_chooser.rb', line 9 def initialize(config:) @config = config end |
Instance Method Details
#run ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/imap/backup/setup/global_options/download_strategy_chooser.rb', line 13 def run catch :done do loop do Kernel.system("clear") end end end |