Class: Smith::Workflow::Graph::StateDiagnostics
- Inherits:
-
Object
- Object
- Smith::Workflow::Graph::StateDiagnostics
- Defined in:
- lib/smith/workflow/graph/state_diagnostics.rb
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
Instance Method Summary collapse
-
#initialize(graph) ⇒ StateDiagnostics
constructor
A new instance of StateDiagnostics.
- #to_a ⇒ Object
Constructor Details
#initialize(graph) ⇒ StateDiagnostics
Returns a new instance of StateDiagnostics.
9 10 11 |
# File 'lib/smith/workflow/graph/state_diagnostics.rb', line 9 def initialize(graph) @graph = graph end |
Instance Attribute Details
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
7 8 9 |
# File 'lib/smith/workflow/graph/state_diagnostics.rb', line 7 def graph @graph end |
Instance Method Details
#to_a ⇒ Object
13 14 15 16 17 18 |
# File 'lib/smith/workflow/graph/state_diagnostics.rb', line 13 def to_a [ *initial_state_diagnostics, *state_reference_diagnostics ] end |