Class: Imap::Backup::Configuration::Setup

Inherits:
Object
  • Object
show all
Defined in:
lib/imap/backup/configuration/setup.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.highline ⇒ Object

Returns the value of attribute highline.



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

def highline
  @highline
end

Instance Method Details

#run ⇒ Object



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

def run
  Imap::Backup.setup_logging config
  catch :done do
    loop do
      system('clear')
      show_menu
    end
  end
end