Class: LastHit::Configure

Inherits:
Object
  • Object
show all
Defined in:
lib/last_hit/configure.rb

Constant Summary collapse

@@test_command =
"bundle exec rspec"
@@default_base_branch =
"development"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.default_base_branchObject

Returns the value of attribute default_base_branch.



7
8
9
# File 'lib/last_hit/configure.rb', line 7

def default_base_branch
  @default_base_branch
end

.test_commandObject

Returns the value of attribute test_command.



7
8
9
# File 'lib/last_hit/configure.rb', line 7

def test_command
  @test_command
end

Class Method Details

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



9
10
11
# File 'lib/last_hit/configure.rb', line 9

def config
  yield(self)
end