Class: Highlander::Dsl::OutputParam

Inherits:
Parameter show all
Defined in:
lib/highlander.dsl.params.rb

Instance Attribute Summary collapse

Attributes inherited from Parameter

#default_value, #name, #no_echo, #type

Attributes inherited from DslBase

#config

Instance Method Summary collapse

Methods inherited from DslBase

#method_missing

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