Class: Cfhighlander::Dsl::Condition
- Defined in:
- lib/cfhighlander.dsl.template.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from DslBase
Instance Method Summary collapse
-
#initialize(name, expression) ⇒ Condition
constructor
A new instance of Condition.
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
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
21 22 23 |
# File 'lib/cfhighlander.dsl.template.rb', line 21 def expression @expression end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
21 22 23 |
# File 'lib/cfhighlander.dsl.template.rb', line 21 def name @name end |