Class: Snoot::CLI::Pipeline
- Inherits:
-
Data
- Object
- Data
- Snoot::CLI::Pipeline
- Defined in:
- lib/snoot/cli/pipeline.rb
Overview
Pipeline bundles the analyser orchestration and the stdout/stderr pair that together define a CLI invocation’s wiring – the trio flows through run_invoked, the outcome dispatch, and emit_report.
Instance Attribute Summary collapse
-
#orchestration ⇒ Object
readonly
Returns the value of attribute orchestration.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Class Method Summary collapse
Instance Attribute Details
#orchestration ⇒ Object (readonly)
Returns the value of attribute orchestration
8 9 10 |
# File 'lib/snoot/cli/pipeline.rb', line 8 def orchestration @orchestration end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr
8 9 10 |
# File 'lib/snoot/cli/pipeline.rb', line 8 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout
8 9 10 |
# File 'lib/snoot/cli/pipeline.rb', line 8 def stdout @stdout end |
Class Method Details
.default ⇒ Object
9 10 11 |
# File 'lib/snoot/cli/pipeline.rb', line 9 def self.default new(orchestration: AnalyserOrchestration::Default, stdout: $stdout, stderr: $stderr) end |