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