Class: Smith::Workflow::Graph::NestedReadinessDiagnostics
- Inherits:
-
Object
- Object
- Smith::Workflow::Graph::NestedReadinessDiagnostics
- Extended by:
- Dry::Initializer
- Defined in:
- lib/smith/workflow/graph/nested_readiness_diagnostics.rb
Instance Method Summary collapse
Instance Method Details
#child_reports ⇒ Object
18 19 20 |
# File 'lib/smith/workflow/graph/nested_readiness_diagnostics.rb', line 18 def child_reports report_entries.map { |entry| entry.fetch(:report) } end |
#to_a ⇒ Object
14 15 16 |
# File 'lib/smith/workflow/graph/nested_readiness_diagnostics.rb', line 14 def to_a cycle_diagnostics + report_entries.flat_map { |entry| diagnostics_for(entry) } end |