Class: Imap::Backup::Setup

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Class Attribute Details

.highlineObject

Returns the value of attribute highline.


10
11
12
# File 'lib/imap/backup/setup.rb', line 10

def highline
  @highline
end

Instance Method Details

#runObject


14
15
16
17
18
19
20
21
# File 'lib/imap/backup/setup.rb', line 14

def run
  catch :done do
    loop do
      Kernel.system("clear")
      show_menu
    end
  end
end