Class: Scm::Workflow::ConfigElement
- Inherits:
-
Object
- Object
- Scm::Workflow::ConfigElement
- Defined in:
- lib/scm-workflow/configuration.rb
Instance Attribute Summary collapse
-
#hideinput ⇒ Object
readonly
Returns the value of attribute hideinput.
-
#info ⇒ Object
readonly
Returns the value of attribute info.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(info, hideinput, default) ⇒ ConfigElement
constructor
A new instance of ConfigElement.
Constructor Details
#initialize(info, hideinput, default) ⇒ ConfigElement
Returns a new instance of ConfigElement.
16 17 18 19 20 |
# File 'lib/scm-workflow/configuration.rb', line 16 def initialize (info, hideinput, default) @info = info; @hideinput = hideinput; @value = default; end |
Instance Attribute Details
#hideinput ⇒ Object (readonly)
Returns the value of attribute hideinput.
14 15 16 |
# File 'lib/scm-workflow/configuration.rb', line 14 def hideinput @hideinput end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
12 13 14 |
# File 'lib/scm-workflow/configuration.rb', line 12 def info @info end |
#value ⇒ Object
Returns the value of attribute value.
13 14 15 |
# File 'lib/scm-workflow/configuration.rb', line 13 def value @value end |