Class: AgentCliRuntime::CompiledInvocation
- Inherits:
-
Data
- Object
- Data
- AgentCliRuntime::CompiledInvocation
- Defined in:
- lib/agent_cli_runtime/values.rb
Instance Attribute Summary collapse
-
#argv ⇒ Object
readonly
Returns the value of attribute argv.
-
#capability_evidence ⇒ Object
readonly
Returns the value of attribute capability_evidence.
-
#launcher_identity ⇒ Object
readonly
Returns the value of attribute launcher_identity.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#stdin_data ⇒ Object
readonly
Returns the value of attribute stdin_data.
Instance Method Summary collapse
-
#initialize(argv:, stdin_data:, provider:, launcher_identity:, capability_evidence:) ⇒ CompiledInvocation
constructor
A new instance of CompiledInvocation.
Constructor Details
#initialize(argv:, stdin_data:, provider:, launcher_identity:, capability_evidence:) ⇒ CompiledInvocation
Returns a new instance of CompiledInvocation.
99 100 101 102 103 104 105 106 107 108 |
# File 'lib/agent_cli_runtime/values.rb', line 99 def initialize(argv:, stdin_data:, provider:, launcher_identity:, capability_evidence:) super( argv: Immutable.strings(argv), stdin_data: stdin_data.nil? ? nil : Immutable.string(stdin_data), provider: provider.to_sym, launcher_identity: Immutable.string(launcher_identity), capability_evidence: Array(capability_evidence).freeze ) end |
Instance Attribute Details
#argv ⇒ Object (readonly)
Returns the value of attribute argv
96 97 98 |
# File 'lib/agent_cli_runtime/values.rb', line 96 def argv @argv end |
#capability_evidence ⇒ Object (readonly)
Returns the value of attribute capability_evidence
96 97 98 |
# File 'lib/agent_cli_runtime/values.rb', line 96 def capability_evidence @capability_evidence end |
#launcher_identity ⇒ Object (readonly)
Returns the value of attribute launcher_identity
96 97 98 |
# File 'lib/agent_cli_runtime/values.rb', line 96 def launcher_identity @launcher_identity end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider
96 97 98 |
# File 'lib/agent_cli_runtime/values.rb', line 96 def provider @provider end |
#stdin_data ⇒ Object (readonly)
Returns the value of attribute stdin_data
96 97 98 |
# File 'lib/agent_cli_runtime/values.rb', line 96 def stdin_data @stdin_data end |