Class: SagaForge::Dashboard::Edge
- Inherits:
-
Struct
- Object
- Struct
- SagaForge::Dashboard::Edge
- Defined in:
- lib/saga_forge/dashboard/graph.rb
Overview
kind: :chain (complete) | :jump (best-effort)
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#label ⇒ Object
Returns the value of attribute label.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
16 17 18 |
# File 'lib/saga_forge/dashboard/graph.rb', line 16 def from @from end |
#kind ⇒ Object
Returns the value of attribute kind
16 17 18 |
# File 'lib/saga_forge/dashboard/graph.rb', line 16 def kind @kind end |
#label ⇒ Object
Returns the value of attribute label
16 17 18 |
# File 'lib/saga_forge/dashboard/graph.rb', line 16 def label @label end |
#to ⇒ Object
Returns the value of attribute to
16 17 18 |
# File 'lib/saga_forge/dashboard/graph.rb', line 16 def to @to end |
Instance Method Details
#to_h ⇒ Object
17 |
# File 'lib/saga_forge/dashboard/graph.rb', line 17 def to_h = {from: from, to: to, kind: kind, label: label} |