Class: Stacker::Stack::Component

Inherits:
Object
  • Object
show all
Defined in:
lib/stacker/stack/component.rb

Overview

an abstract base class for stack components (template, parameters)

Direct Known Subclasses

Capabilities, Parameters, Template

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#stackObject (readonly)

Returns the value of attribute stack.



8
9
10
# File 'lib/stacker/stack/component.rb', line 8

def stack
  @stack
end