Class: Highlander::Dsl::OutputParam
- Defined in:
- lib/highlander.dsl.params.rb
Instance Attribute Summary collapse
-
#component ⇒ Object
Returns the value of attribute component.
Attributes inherited from Parameter
#default_value, #name, #no_echo, #type
Attributes inherited from DslBase
Instance Method Summary collapse
-
#initialize(component, name, default) ⇒ OutputParam
constructor
A new instance of OutputParam.
Methods inherited from DslBase
Constructor Details
#initialize(component, name, default) ⇒ OutputParam
Returns a new instance of OutputParam.
74 75 76 77 78 79 |
# File 'lib/highlander.dsl.params.rb', line 74 def initialize(component, name, default) @component = component @name = name @default_value = default @type = 'String' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Highlander::Dsl::DslBase
Instance Attribute Details
#component ⇒ Object
Returns the value of attribute component.
72 73 74 |
# File 'lib/highlander.dsl.params.rb', line 72 def component @component end |