Class: CfnDsl::RefDefinition

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

Instance Method Summary collapse

Methods inherited from JSONable

#declare, #method_missing, #ref_children, #to_json

Methods included from Functions

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

Methods included from RefCheck

#ref_children, #references

Constructor Details

#initialize(value) ⇒ RefDefinition

Handles the Ref objects



175
176
177
# File 'lib/cfndsl/JSONable.rb', line 175

def initialize( value ) 
  @Ref = value
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CfnDsl::JSONable

Instance Method Details

#get_referencesObject



179
180
181
# File 'lib/cfndsl/JSONable.rb', line 179

def get_references()
  [@Ref]
end