Class: Reviewer::Context
- Inherits:
-
Struct
- Object
- Struct
- Reviewer::Context
- Defined in:
- lib/reviewer/context.rb
Overview
Bundles the shared runtime dependencies that flow through the review/format lifecycle. Passed from Session → Batch → Runner → Command so that no class needs to reach into module-level globals for arguments, output, or history.
Instance Attribute Summary collapse
-
#arguments ⇒ Arguments
The parsed command-line arguments.
-
#history ⇒ History
The YAML store for timing data and prepare timestamps.
-
#output ⇒ Output
The output channel for displaying content.
Instance Attribute Details
#arguments ⇒ Arguments
Returns the parsed command-line arguments.
14 |
# File 'lib/reviewer/context.rb', line 14 Context = Struct.new(:arguments, :output, :history, keyword_init: true) |