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, #connection, #each_connection, #symbolized
Constructor Details
#initialize(email, options = {}) ⇒ Stats
Returns a new instance of Stats.
17 18 19 20 21 |
# File 'lib/imap/backup/cli/stats.rb', line 17 def initialize(email, = {}) super([]) @email = email @options = end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
14 15 16 |
# File 'lib/imap/backup/cli/stats.rb', line 14 def email @email end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/imap/backup/cli/stats.rb', line 15 def @options end |