Class: Ast::Merge::Recipe::Runner::StepResult
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::Recipe::Runner::StepResult
- Defined in:
- lib/ast/merge/recipe/runner.rb
Overview
Result of a single in-memory recipe step pipeline.
Instance Attribute Summary collapse
-
#changed ⇒ Boolean
readonly
Whether any step changed the content.
-
#content ⇒ String
readonly
Resulting content after step execution.
-
#has_anchor ⇒ Boolean
readonly
Whether the required anchor was found.
-
#message ⇒ String?
readonly
Human-readable status message.
-
#problems ⇒ Array<String>
readonly
Non-fatal issues collected during execution.
-
#stats ⇒ Hash
readonly
Aggregated merge statistics.
Instance Attribute Details
#changed ⇒ Boolean (readonly)
Returns whether any step changed the content.
45 |
# File 'lib/ast/merge/recipe/runner.rb', line 45 StepResult = Struct.new(:content, :changed, :has_anchor, :message, :stats, :problems, keyword_init: true) |
#content ⇒ String (readonly)
Returns resulting content after step execution.
45 |
# File 'lib/ast/merge/recipe/runner.rb', line 45 StepResult = Struct.new(:content, :changed, :has_anchor, :message, :stats, :problems, keyword_init: true) |
#has_anchor ⇒ Boolean (readonly)
Returns whether the required anchor was found.
45 |
# File 'lib/ast/merge/recipe/runner.rb', line 45 StepResult = Struct.new(:content, :changed, :has_anchor, :message, :stats, :problems, keyword_init: true) |
#message ⇒ String? (readonly)
Returns human-readable status message.
45 |
# File 'lib/ast/merge/recipe/runner.rb', line 45 StepResult = Struct.new(:content, :changed, :has_anchor, :message, :stats, :problems, keyword_init: true) |
#problems ⇒ Array<String> (readonly)
Returns non-fatal issues collected during execution.
45 |
# File 'lib/ast/merge/recipe/runner.rb', line 45 StepResult = Struct.new(:content, :changed, :has_anchor, :message, :stats, :problems, keyword_init: true) |
#stats ⇒ Hash (readonly)
Returns aggregated merge statistics.
45 |
# File 'lib/ast/merge/recipe/runner.rb', line 45 StepResult = Struct.new(:content, :changed, :has_anchor, :message, :stats, :problems, keyword_init: true) |