Class: Scm::Workflow::Flow
- Inherits:
-
Object
- Object
- Scm::Workflow::Flow
- Defined in:
- lib/scm-workflow/configuration.rb
Instance Attribute Summary collapse
-
#develop ⇒ Object
Returns the value of attribute develop.
-
#feature ⇒ Object
Returns the value of attribute feature.
Instance Method Summary collapse
-
#initialize ⇒ Flow
constructor
A new instance of Flow.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Flow
27 28 29 30 |
# File 'lib/scm-workflow/configuration.rb', line 27 def initialize @develop = ConfigElement.new("Develop branch name", false, "develop") @feature = ConfigElement.new("Feature branch name", false, "feature") end |
Instance Attribute Details
#develop ⇒ Object
Returns the value of attribute develop.
24 25 26 |
# File 'lib/scm-workflow/configuration.rb', line 24 def develop @develop end |
#feature ⇒ Object
Returns the value of attribute feature.
25 26 27 |
# File 'lib/scm-workflow/configuration.rb', line 25 def feature @feature end |
Instance Method Details
#to_s ⇒ Object
32 33 34 |
# File 'lib/scm-workflow/configuration.rb', line 32 def to_s return "Specify branch related information: " end |