Class: Scm::Workflow::Flow

Inherits:
Object
  • Object
show all
Defined in:
lib/scm-workflow/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFlow



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

#developObject

Returns the value of attribute develop.



24
25
26
# File 'lib/scm-workflow/configuration.rb', line 24

def develop
  @develop
end

#featureObject

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_sObject



32
33
34
# File 'lib/scm-workflow/configuration.rb', line 32

def to_s
  return "Specify branch related information: "
end