Class: SportsManager::SolutionDrawer::Mermaid::SolutionGraph::LinkNode
- Inherits:
-
Struct
- Object
- Struct
- SportsManager::SolutionDrawer::Mermaid::SolutionGraph::LinkNode
- Defined in:
- lib/sports_manager/solution_drawer/mermaid/solution_graph.rb
Instance Attribute Summary collapse
-
#node_hash ⇒ Object
Returns the value of attribute node_hash.
Instance Method Summary collapse
Instance Attribute Details
#node_hash ⇒ Object
Returns the value of attribute node_hash
11 12 13 |
# File 'lib/sports_manager/solution_drawer/mermaid/solution_graph.rb', line 11 def node_hash @node_hash end |
Instance Method Details
#definition ⇒ Object
12 13 14 |
# File 'lib/sports_manager/solution_drawer/mermaid/solution_graph.rb', line 12 def definition "#{node_hash[:previous_name]} --> #{node_hash[:next_name]}" end |