Class: Imap::Backup::CLI::Stats
- Inherits:
-
Thor
- Object
- Thor
- Imap::Backup::CLI::Stats
- Includes:
- Helpers, Thor::Actions
- Defined in:
- lib/imap/backup/cli/stats.rb
Constant Summary collapse
- TEXT_COLUMNS =
[ {name: :folder, width: 20, alignment: :left}, {name: :remote, width: 8, alignment: :right}, {name: :both, width: 8, alignment: :right}, {name: :local, width: 8, alignment: :right} ].freeze
- ALIGNMENT_FORMAT_SYMBOL =
{left: "-", right: " "}.freeze
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(email, options) ⇒ Stats
constructor
A new instance of Stats.
Methods included from Helpers
#account, included, #load_config, #requested_accounts
Constructor Details
#initialize(email, options) ⇒ Stats
Returns a new instance of Stats.
22 23 24 25 26 |
# File 'lib/imap/backup/cli/stats.rb', line 22 def initialize(email, ) super([]) @email = email @options = end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
19 20 21 |
# File 'lib/imap/backup/cli/stats.rb', line 19 def email @email end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
20 21 22 |
# File 'lib/imap/backup/cli/stats.rb', line 20 def @options end |