Class: Lich::Common::FrontendLauncher::SpawnPlan
- Inherits:
-
Struct
- Object
- Struct
- Lich::Common::FrontendLauncher::SpawnPlan
- Defined in:
- documented/common/frontend_launcher.rb
Instance Attribute Summary collapse
-
#argv ⇒ Object
Returns the value of attribute argv.
-
#environment ⇒ Object
Returns the value of attribute environment.
Instance Method Summary collapse
-
#initialize(environment:, argv:) ⇒ void
constructor
Builds a frozen spawn plan from environment variables and command arguments.
Constructor Details
#initialize(environment:, argv:) ⇒ void
Builds a frozen spawn plan from environment variables and command arguments.
The struct is immediately frozen to prevent mutation of the process execution plan.
20 21 22 23 |
# File 'documented/common/frontend_launcher.rb', line 20 def initialize(environment:, argv:) super(environment: environment.freeze, argv: argv.freeze) freeze end |
Instance Attribute Details
#argv ⇒ Object
Returns the value of attribute argv
12 13 14 |
# File 'documented/common/frontend_launcher.rb', line 12 def argv @argv end |
#environment ⇒ Object
Returns the value of attribute environment
12 13 14 |
# File 'documented/common/frontend_launcher.rb', line 12 def environment @environment end |