Class: Imap::Backup::Setup
- Inherits:
-
Object
- Object
- Imap::Backup::Setup
- Defined in:
- lib/imap/backup/setup.rb,
lib/imap/backup/setup/asker.rb,
lib/imap/backup/setup/email.rb,
lib/imap/backup/setup/account.rb,
lib/imap/backup/setup/helpers.rb,
lib/imap/backup/setup/backup_path.rb,
lib/imap/backup/setup/account/header.rb,
lib/imap/backup/setup/folder_chooser.rb,
lib/imap/backup/setup/global_options.rb,
lib/imap/backup/setup/connection_tester.rb,
lib/imap/backup/setup/global_options/download_strategy_chooser.rb
Defined Under Namespace
Classes: Account, Asker, BackupPath, ConnectionTester, Email, FolderChooser, GlobalOptions, Helpers
Class Attribute Summary collapse
-
.highline ⇒ Object
Returns the value of attribute highline.
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config:) ⇒ Setup
constructor
A new instance of Setup.
- #run ⇒ Object
Constructor Details
#initialize(config:) ⇒ Setup
Returns a new instance of Setup.
19 20 21 |
# File 'lib/imap/backup/setup.rb', line 19 def initialize(config:) @config = config end |
Class Attribute Details
.highline ⇒ Object
Returns the value of attribute highline.
13 14 15 |
# File 'lib/imap/backup/setup.rb', line 13 def highline @highline end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
17 18 19 |
# File 'lib/imap/backup/setup.rb', line 17 def config @config end |
Instance Method Details
#run ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/imap/backup/setup.rb', line 23 def run catch :done do loop do Kernel.system("clear") end end end |