Class: CfnDsl::RefDefinition

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

Instance Method Summary collapse

Methods inherited from JSONable

#declare, #incorrect_capitalization?, #method_missing, #ref_children, #titleize, #to_json

Methods included from Functions

#FnAnd, #FnBase64, #FnEquals, #FnFindInMap, #FnFormat, #FnGetAZs, #FnGetAtt, #FnIf, #FnJoin, #FnNot, #FnOr, #FnSelect, #Ref

Methods included from RefCheck

#ref_children, #references

Constructor Details

#initialize(value) ⇒ RefDefinition

Handles the Ref objects



226
227
228
# File 'lib/cfndsl/JSONable.rb', line 226

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



230
231
232
# File 'lib/cfndsl/JSONable.rb', line 230

def get_references()
  [@Ref]
end