Class: Highway::Compiler::Build::Output::Manifest
- Inherits:
-
Object
- Object
- Highway::Compiler::Build::Output::Manifest
- Defined in:
- lib/highway/compiler/build/output/manifest.rb
Overview
This class represents a build manifest. It contains compiled step invocations.
Instance Attribute Summary collapse
-
#invocations ⇒ Array<Highway::Compiler::Build::Output::Invocation>
readonly
Invocations in the manifest.
-
#preset ⇒ String
The preset.
Instance Method Summary collapse
-
#add_invocation(index:, step_class:, parameters:, policy:, keypath:) ⇒ Void
Add an invocation to the manifest.
-
#initialize ⇒ Manifest
constructor
Initialize an instance.
Constructor Details
#initialize ⇒ Manifest
Initialize an instance.
20 21 22 |
# File 'lib/highway/compiler/build/output/manifest.rb', line 20 def initialize() @invocations = Array.new() end |
Instance Attribute Details
#invocations ⇒ Array<Highway::Compiler::Build::Output::Invocation> (readonly)
Invocations in the manifest.
32 33 34 |
# File 'lib/highway/compiler/build/output/manifest.rb', line 32 def invocations @invocations end |
#preset ⇒ String
The preset.
27 28 29 |
# File 'lib/highway/compiler/build/output/manifest.rb', line 27 def preset @preset end |
Instance Method Details
#add_invocation(index:, step_class:, parameters:, policy:, keypath:) ⇒ Void
Add an invocation to the manifest.
43 44 45 |
# File 'lib/highway/compiler/build/output/manifest.rb', line 43 def add_invocation(index:, step_class:, parameters:, policy:, keypath:) @invocations << Invocation.new(index: index, step_class: step_class, parameters: parameters, policy: policy, keypath: keypath) end |