Class: CfnDsl::RefDefinition

Inherits:
JSONable show all
Defined in:
lib/cfndsl.rb

Instance Method Summary collapse

Methods inherited from JSONable

#ref_children, #to_json

Methods included from Functions

#FnBase64, #FnFindInMap, #FnGetAZs, #FnGetAtt, #FnJoin, #Ref

Methods included from RefCheck

#ref_children, #references

Constructor Details

#initialize(value) ⇒ RefDefinition

Returns a new instance of RefDefinition.



141
142
143
# File 'lib/cfndsl.rb', line 141

def initialize( value ) 
  @Ref = value
end

Instance Method Details

#get_references(refs) ⇒ Object



145
146
147
# File 'lib/cfndsl.rb', line 145

def get_references( refs )
  refs[ @Ref ] = 1
end