Class: Murk::Model::ReferenceStackParameter
- Inherits:
-
Object
- Object
- Murk::Model::ReferenceStackParameter
- Defined in:
- lib/murk/model/stack_parameter.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key, block, env: nil, user: nil) ⇒ ReferenceStackParameter
constructor
A new instance of ReferenceStackParameter.
- #resolve ⇒ Object
- #stack(name) ⇒ Object
Constructor Details
#initialize(key, block, env: nil, user: nil) ⇒ ReferenceStackParameter
Returns a new instance of ReferenceStackParameter.
29 30 31 32 33 34 |
# File 'lib/murk/model/stack_parameter.rb', line 29 def initialize(key, block, env: nil, user: nil) @key = key @block = block @user = user @env = env end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
27 28 29 |
# File 'lib/murk/model/stack_parameter.rb', line 27 def block @block end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
27 28 29 |
# File 'lib/murk/model/stack_parameter.rb', line 27 def key @key end |