Class: CfnDsl::RefDefinition

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

Overview

Handles the Ref objects

Constant Summary

Constants included from Functions

Functions::FN_SUB_SCANNER

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, #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.



216
217
218
# File 'lib/cfndsl/jsonable.rb', line 216

def initialize(value)
  @Ref = value
end

Instance Method Details

#all_refsObject



220
221
222
# File 'lib/cfndsl/jsonable.rb', line 220

def all_refs
  [@Ref]
end