Class: SagaForge::Dashboard::Node
- Inherits:
-
Struct
- Object
- Struct
- SagaForge::Dashboard::Node
- Defined in:
- lib/saga_forge/dashboard/graph.rb
Overview
kind: :start | :state | :terminal
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
11 12 13 |
# File 'lib/saga_forge/dashboard/graph.rb', line 11 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind
11 12 13 |
# File 'lib/saga_forge/dashboard/graph.rb', line 11 def kind @kind end |
#label ⇒ Object
Returns the value of attribute label
11 12 13 |
# File 'lib/saga_forge/dashboard/graph.rb', line 11 def label @label end |
Instance Method Details
#to_h ⇒ Object
12 |
# File 'lib/saga_forge/dashboard/graph.rb', line 12 def to_h = {id: id, label: label, kind: kind} |