Class: Output
Constant Summary collapse
- ATTRIBUTES =
[ :value, :condition, :description ]
Instance Method Summary collapse
-
#initialize(name, cfn_hash) ⇒ Output
constructor
A new instance of Output.
Methods included from CfnParser
#array, #hash, #intrinsic_function, #intrinsic_function?, #parse_cfn, #primitive
Constructor Details
#initialize(name, cfn_hash) ⇒ Output
Returns a new instance of Output.
12 13 14 15 |
# File 'lib/output.rb', line 12 def initialize(name, cfn_hash) @name = name ATTRIBUTES.each {|a| attribute(a, cfn_hash)} end |