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
#FindInMap, #FnFindInMap, #FnGetAtt, #GetAtt, #Ref, #cfmap, #cfout, #method_missing
Constructor Details
#initialize(name, expression) ⇒ Condition
Returns a new instance of Condition.
22 23 24 25 |
# File 'lib/cfhighlander.dsl.template.rb', line 22 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.
20 21 22 |
# File 'lib/cfhighlander.dsl.template.rb', line 20 def expression @expression end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
20 21 22 |
# File 'lib/cfhighlander.dsl.template.rb', line 20 def name @name end |