Class: Seafoam::Formatters::Base::EdgesFormatter::SummaryEntry
- Inherits:
-
Struct
- Object
- Struct
- Seafoam::Formatters::Base::EdgesFormatter::SummaryEntry
- Defined in:
- lib/seafoam/formatters/base.rb
Instance Attribute Summary collapse
-
#edge_count ⇒ Object
Returns the value of attribute edge_count.
-
#node_count ⇒ Object
Returns the value of attribute node_count.
Instance Method Summary collapse
Instance Attribute Details
#edge_count ⇒ Object
Returns the value of attribute edge_count
30 31 32 |
# File 'lib/seafoam/formatters/base.rb', line 30 def edge_count @edge_count end |
#node_count ⇒ Object
Returns the value of attribute node_count
30 31 32 |
# File 'lib/seafoam/formatters/base.rb', line 30 def node_count @node_count end |
Instance Method Details
#render(formatter) ⇒ Object
31 32 33 |
# File 'lib/seafoam/formatters/base.rb', line 31 def render(formatter) formatter.render_summary_entry(node_count, edge_count) end |