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, #ref_children, #to_json

Methods included from Functions

#FnAnd, #FnBase64, #FnCidr, #FnEquals, #FnFindInMap, #FnFormat, #FnGetAZs, #FnGetAtt, #FnIf, #FnImportValue, #FnJoin, #FnNot, #FnOr, #FnSelect, #FnSplit, #FnSub, #Ref

Methods included from RefCheck

#build_references, #ref_children

Constructor Details

#initialize(value) ⇒ RefDefinition

Returns a new instance of RefDefinition.



239
240
241
# File 'lib/cfndsl/jsonable.rb', line 239

def initialize(value)
  @Ref = value
end

Instance Method Details

#all_refsObject



243
244
245
# File 'lib/cfndsl/jsonable.rb', line 243

def all_refs
  [@Ref]
end