Class: Imap::Backup::Configuration::Account

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(store, account, highline) ⇒ Account

Returns a new instance of Account.



5
6
7
# File 'lib/imap/backup/configuration/account.rb', line 5

def initialize(store, , highline)
  super
end

Instance Attribute Details

#account ⇒ Object

Returns the value of attribute account

Returns:

  • (Object) —

    the current value of account



4
5
6
# File 'lib/imap/backup/configuration/account.rb', line 4

def 
  @account
end

#highline ⇒ Object

Returns the value of attribute highline

Returns:

  • (Object) —

    the current value of highline



4
5
6
# File 'lib/imap/backup/configuration/account.rb', line 4

def highline
  @highline
end

#store ⇒ Object

Returns the value of attribute store

Returns:

  • (Object) —

    the current value of store



4
5
6
# File 'lib/imap/backup/configuration/account.rb', line 4

def store
  @store
end

Instance Method Details

#run ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/imap/backup/configuration/account.rb', line 9

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