Class: Imap::Backup::Setup::Account
- Inherits:
-
Struct
- Object
- Struct
- Imap::Backup::Setup::Account
- Defined in:
- lib/imap/backup/setup/account.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#config ⇒ Object
Returns the value of attribute config.
-
#highline ⇒ Object
Returns the value of attribute highline.
Instance Method Summary collapse
-
#initialize(config, account, highline) ⇒ Account
constructor
A new instance of Account.
- #run ⇒ Object
Constructor Details
#initialize(config, account, highline) ⇒ Account
Returns a new instance of Account.
7 8 9 |
# File 'lib/imap/backup/setup/account.rb', line 7 def initialize(config, account, highline) super end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account
6 7 8 |
# File 'lib/imap/backup/setup/account.rb', line 6 def account @account end |
#config ⇒ Object
Returns the value of attribute config
6 7 8 |
# File 'lib/imap/backup/setup/account.rb', line 6 def config @config end |
#highline ⇒ Object
Returns the value of attribute highline
6 7 8 |
# File 'lib/imap/backup/setup/account.rb', line 6 def highline @highline end |
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/imap/backup/setup/account.rb', line 11 def run catch :done do loop do Kernel.system("clear") end end end |