Class: Reviewer::Context

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#argumentsArguments



14
# File 'lib/reviewer/context.rb', line 14

Context = Struct.new(:arguments, :output, :history, keyword_init: true)

#historyHistory



14
# File 'lib/reviewer/context.rb', line 14

Context = Struct.new(:arguments, :output, :history, keyword_init: true)

#outputOutput



14
# File 'lib/reviewer/context.rb', line 14

Context = Struct.new(:arguments, :output, :history, keyword_init: true)