Class: Seafoam::Formatters::Base::ListFormatter
- Inherits:
-
Object
- Object
- Seafoam::Formatters::Base::ListFormatter
- Defined in:
- lib/seafoam/formatters/base.rb
Overview
Formats the output of the ‘list` command.
Direct Known Subclasses
Defined Under Namespace
Classes: Entry
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Instance Method Summary collapse
-
#initialize(entries) ⇒ ListFormatter
constructor
A new instance of ListFormatter.
Constructor Details
#initialize(entries) ⇒ ListFormatter
Returns a new instance of ListFormatter.
75 76 77 |
# File 'lib/seafoam/formatters/base.rb', line 75 def initialize(entries) @entries = entries end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
73 74 75 |
# File 'lib/seafoam/formatters/base.rb', line 73 def entries @entries end |