Class: Stacker::Stack::Component
- Inherits:
-
Object
- Object
- Stacker::Stack::Component
- Defined in:
- lib/stacker/stack/component.rb
Overview
an abstract base class for stack components (template, parameters)
Direct Known Subclasses
Instance Attribute Summary collapse
-
#stack ⇒ Object
readonly
Returns the value of attribute stack.
Instance Method Summary collapse
-
#initialize(stack) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(stack) ⇒ Component
Returns a new instance of Component.
10 11 12 |
# File 'lib/stacker/stack/component.rb', line 10 def initialize stack @stack = stack end |
Instance Attribute Details
#stack ⇒ Object (readonly)
Returns the value of attribute stack.
8 9 10 |
# File 'lib/stacker/stack/component.rb', line 8 def stack @stack end |