Class: Cfhighlander::Dsl::Parameter
- Defined in:
- lib/cfhighlander.dsl.params.rb
Overview
model classes
Direct Known Subclasses
Instance Attribute Summary collapse
-
#allowed_values ⇒ Object
Returns the value of attribute allowed_values.
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#is_global ⇒ Object
Returns the value of attribute is_global.
-
#name ⇒ Object
Returns the value of attribute name.
-
#no_echo ⇒ Object
Returns the value of attribute no_echo.
-
#provided_value ⇒ Object
Returns the value of attribute provided_value.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from DslBase
Instance Method Summary collapse
-
#initialize(name, type, defaultValue, noEcho = false, isGlobal = false, allowed_values = nil) ⇒ Parameter
constructor
A new instance of Parameter.
Methods inherited from DslBase
#FindInMap, #FnFindInMap, #FnGetAtt, #GetAtt, #Ref, #cfmap, #cfout, #method_missing
Constructor Details
#initialize(name, type, defaultValue, noEcho = false, isGlobal = false, allowed_values = nil) ⇒ Parameter
65 66 67 68 69 70 71 72 73 |
# File 'lib/cfhighlander.dsl.params.rb', line 65 def initialize(name, type, defaultValue, noEcho = false, isGlobal = false, allowed_values = nil) @no_echo = noEcho @name = name @type = type @default_value = defaultValue @is_global = isGlobal @allowed_values = allowed_values @provided_value = nil end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Cfhighlander::Dsl::DslBase
Instance Attribute Details
#allowed_values ⇒ Object
Returns the value of attribute allowed_values.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def allowed_values @allowed_values end |
#default_value ⇒ Object
Returns the value of attribute default_value.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def default_value @default_value end |
#is_global ⇒ Object
Returns the value of attribute is_global.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def is_global @is_global end |
#name ⇒ Object
Returns the value of attribute name.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def name @name end |
#no_echo ⇒ Object
Returns the value of attribute no_echo.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def no_echo @no_echo end |
#provided_value ⇒ Object
Returns the value of attribute provided_value.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def provided_value @provided_value end |
#type ⇒ Object
Returns the value of attribute type.
57 58 59 |
# File 'lib/cfhighlander.dsl.params.rb', line 57 def type @type end |