Class: ChurnAnalyzers::Git

Inherits:
Object
  • Object
show all
Defined in:
lib/churn_analyzers/git.rb

Overview

This class uses Git to analyze the churn (how many times it was changed) of a file.

Instance Method Summary collapse

Instance Method Details

#analyze(file) ⇒ Object



6
7
8
# File 'lib/churn_analyzers/git.rb', line 6

def analyze(file)
  as_integer run_command(file)
end