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/connection_tester.rb
Defined Under Namespace
Classes: Account, Asker, BackupPath, ConnectionTester, Email, FolderChooser, 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.
16 17 18 |
# File 'lib/imap/backup/setup.rb', line 16 def initialize(config:) @config = config end |
Class Attribute Details
.highline ⇒ Object
Returns the value of attribute highline.
10 11 12 |
# File 'lib/imap/backup/setup.rb', line 10 def highline @highline end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
14 15 16 |
# File 'lib/imap/backup/setup.rb', line 14 def config @config end |
Instance Method Details
#run ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/imap/backup/setup.rb', line 20 def run catch :done do loop do Kernel.system("clear") end end end |