Class: Cfhighlander::Dsl::Condition

Inherits:
DslBase
  • Object
show all
Defined in:
lib/cfhighlander.dsl.template.rb

Instance Attribute Summary collapse

Attributes inherited from DslBase

#config

Instance Method Summary collapse

Methods inherited from DslBase

#AWSAccountId, #AWSNoValue, #AWSNotificationARNs, #AWSPartition, #AWSStackName, #AWSStackRegion, #AWSURLSuffix, #FindInMap, #FnAnd, #FnBase64, #FnCidr, #FnEquals, #FnFindInMap, #FnGetAZs, #FnGetAtt, #FnIf, #FnImportValue, #FnJoin, #FnNot, #FnOr, #FnSelect, #FnSplit, #FnSub, #GetAtt, #Ref, #cfmap, #cfout, #method_missing

Constructor Details

#initialize(name, expression) ⇒ Condition

Returns a new instance of Condition.



23
24
25
26
# File 'lib/cfhighlander.dsl.template.rb', line 23

def initialize(name, expression)
  @name = name
  @expression = expression
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cfhighlander::Dsl::DslBase

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



21
22
23
# File 'lib/cfhighlander.dsl.template.rb', line 21

def expression
  @expression
end

#nameObject (readonly)

Returns the value of attribute name.



21
22
23
# File 'lib/cfhighlander.dsl.template.rb', line 21

def name
  @name
end