Class: MetricFu::Churn::Git
- Inherits:
-
SourceControl
- Object
- SourceControl
- MetricFu::Churn::Git
- Defined in:
- lib/generators/churn.rb
Instance Method Summary collapse
Methods inherited from SourceControl
Constructor Details
This class inherits a constructor from MetricFu::Churn::SourceControl
Instance Method Details
#get_logs ⇒ Object
56 57 58 |
# File 'lib/generators/churn.rb', line 56 def get_logs `git log #{date_range} --name-only --pretty=format:`.split(/\n/).reject{|line| line == ""} end |