Class: Smith::Workflow::Graph::DiagnosticPath

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/smith/workflow/graph/diagnostic_path.rb

Instance Method Summary collapse

Instance Method Details

#each_labelObject



14
15
16
17
18
19
20
# File 'lib/smith/workflow/graph/diagnostic_path.rb', line 14

def each_label
  current = self
  while current
    yield current.label
    current = current.tail
  end
end