Class: Seafoam::Formatters::Base::EdgesFormatter::SummaryEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/seafoam/formatters/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#edge_countObject

Returns the value of attribute edge_count

Returns:

  • (Object)

    the current value of edge_count



30
31
32
# File 'lib/seafoam/formatters/base.rb', line 30

def edge_count
  @edge_count
end

#node_countObject

Returns the value of attribute node_count

Returns:

  • (Object)

    the current value of 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