Class: CfnDsl::RefDefinition

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

Overview

Handles the Ref objects

Instance Method Summary collapse

Methods inherited from JSONable

#as_json, #declare, #external_parameters, external_parameters, #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

#build_references, #ref_children

Constructor Details

#initialize(value) ⇒ RefDefinition

Returns a new instance of RefDefinition.



223
224
225
# File 'lib/cfndsl/jsonable.rb', line 223

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

#all_refsObject



227
228
229
# File 'lib/cfndsl/jsonable.rb', line 227

def all_refs
  [@Ref]
end