Class: SagaForge::Dashboard::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/saga_forge/dashboard/graph.rb

Overview

kind: :start | :state | :terminal

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



11
12
13
# File 'lib/saga_forge/dashboard/graph.rb', line 11

def id
  @id
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



11
12
13
# File 'lib/saga_forge/dashboard/graph.rb', line 11

def kind
  @kind
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



11
12
13
# File 'lib/saga_forge/dashboard/graph.rb', line 11

def label
  @label
end

Instance Method Details

#to_hObject



12
# File 'lib/saga_forge/dashboard/graph.rb', line 12

def to_h = {id: id, label: label, kind: kind}