Class: Jets::Stack
- Inherits:
-
Object
- Object
- Jets::Stack
- Extended by:
- Memoist
- Includes:
- Dsl
- Defined in:
- lib/jets/stack.rb,
lib/jets/stack/dsl.rb,
lib/jets/stack/outputs.rb
Defined Under Namespace
Class Method Summary collapse
- .inherited(base) ⇒ Object
-
.output_value(logical_id) ⇒ Object
(also: lookup)
Do not name this output, it’ll collide with the output DSL method.
- .outputs ⇒ Object
-
.subclasses ⇒ Object
Track all command subclasses.
Class Method Details
.inherited(base) ⇒ Object
13 14 15 16 |
# File 'lib/jets/stack.rb', line 13 def inherited(base) super subclasses << base if base.name end |
.output_value(logical_id) ⇒ Object Also known as: lookup
Do not name this output, it’ll collide with the output DSL method
19 20 21 22 |
# File 'lib/jets/stack.rb', line 19 def output_value(logical_id) puts "lookup logical_id: #{logical_id}" outputs.value(logical_id) end |
.subclasses ⇒ Object
Track all command subclasses.
9 10 11 |
# File 'lib/jets/stack.rb', line 9 def subclasses @subclasses ||= [] end |