Class: Seafoam::Formatters::Base::DescribeFormatter
- Inherits:
-
Object
- Object
- Seafoam::Formatters::Base::DescribeFormatter
- Defined in:
- lib/seafoam/formatters/base.rb
Overview
Formats the output of the ‘describe` command.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
Instance Method Summary collapse
-
#initialize(graph, description) ⇒ DescribeFormatter
constructor
A new instance of DescribeFormatter.
Constructor Details
#initialize(graph, description) ⇒ DescribeFormatter
Returns a new instance of DescribeFormatter.
10 11 12 13 |
# File 'lib/seafoam/formatters/base.rb', line 10 def initialize(graph, description) @graph = graph @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
8 9 10 |
# File 'lib/seafoam/formatters/base.rb', line 8 def description @description end |
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
8 9 10 |
# File 'lib/seafoam/formatters/base.rb', line 8 def graph @graph end |