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

#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