Class: Imap::Backup::Configuration::Account
- Inherits:
-
Struct
- Object
- Struct
- Imap::Backup::Configuration::Account
- Defined in:
- lib/imap/backup/configuration/account.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#highline ⇒ Object
Returns the value of attribute highline.
-
#store ⇒ Object
Returns the value of attribute store.
Instance Method Summary collapse
-
#initialize(store, account, highline) ⇒ Account
constructor
A new instance of Account.
- #run ⇒ Object
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, account, highline) super end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account
4 5 6 |
# File 'lib/imap/backup/configuration/account.rb', line 4 def account @account end |
#highline ⇒ Object
Returns the value of attribute 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
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") end end end |