Class: BranchDb::Configuration
- Inherits:
-
Object
- Object
- BranchDb::Configuration
- Defined in:
- lib/branch_db/configuration.rb
Instance Attribute Summary collapse
-
#development_suffix ⇒ Object
Returns the value of attribute development_suffix.
-
#main_branch ⇒ Object
Returns the value of attribute main_branch.
-
#max_branch_length ⇒ Object
Returns the value of attribute max_branch_length.
-
#test_suffix ⇒ Object
Returns the value of attribute test_suffix.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 |
# File 'lib/branch_db/configuration.rb', line 5 def initialize @main_branch = "main" @max_branch_length = 33 @development_suffix = "_development" @test_suffix = "_test" end |
Instance Attribute Details
#development_suffix ⇒ Object
Returns the value of attribute development_suffix.
3 4 5 |
# File 'lib/branch_db/configuration.rb', line 3 def development_suffix @development_suffix end |
#main_branch ⇒ Object
Returns the value of attribute main_branch.
3 4 5 |
# File 'lib/branch_db/configuration.rb', line 3 def main_branch @main_branch end |
#max_branch_length ⇒ Object
Returns the value of attribute max_branch_length.
3 4 5 |
# File 'lib/branch_db/configuration.rb', line 3 def max_branch_length @max_branch_length end |
#test_suffix ⇒ Object
Returns the value of attribute test_suffix.
3 4 5 |
# File 'lib/branch_db/configuration.rb', line 3 def test_suffix @test_suffix end |