Class: Seafoam::Formatters::Base::EdgesFormatter::NodeEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



24
25
26
# File 'lib/seafoam/formatters/base.rb', line 24

def node
  @node
end

Instance Method Details

#render(formatter) ⇒ Object



25
26
27
# File 'lib/seafoam/formatters/base.rb', line 25

def render(formatter)
  formatter.render_node_entry(node)
end