Class: IntegrationDiff::RunDetails::GitRepo
- Inherits:
-
Object
- Object
- IntegrationDiff::RunDetails::GitRepo
- Defined in:
- lib/integration_diff/run_details.rb
Instance Method Summary collapse
Instance Method Details
#author ⇒ Object
28 29 30 |
# File 'lib/integration_diff/run_details.rb', line 28 def `git config user.name`.strip end |
#branch ⇒ Object
24 25 26 |
# File 'lib/integration_diff/run_details.rb', line 24 def branch `git rev-parse --abbrev-ref HEAD`.strip end |