Class: Output

Inherits:
Object
  • Object
show all
Includes:
CfnParser
Defined in:
lib/output.rb

Constant Summary collapse

ATTRIBUTES =
[
  :value,
  :condition,
  :description
]

Instance Method Summary collapse

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