Class: LastHit::Configure
- Inherits:
-
Object
- Object
- LastHit::Configure
- Defined in:
- lib/last_hit/configure.rb
Class Attribute Summary collapse
-
.base_branch ⇒ Object
Returns the value of attribute base_branch.
-
.test_command ⇒ Object
Returns the value of attribute test_command.
Class Method Summary collapse
Class Attribute Details
.base_branch ⇒ Object
Returns the value of attribute base_branch.
11 12 13 |
# File 'lib/last_hit/configure.rb', line 11 def base_branch @base_branch end |
.test_command ⇒ Object
Returns the value of attribute test_command.
11 12 13 |
# File 'lib/last_hit/configure.rb', line 11 def test_command @test_command end |
Class Method Details
.set(config) ⇒ Object
13 14 15 16 |
# File 'lib/last_hit/configure.rb', line 13 def set(config) @test_command = config['test_command'] if config['test_command'] @base_branch = config['base_branch'] if config['base_branch'] end |