Method: GitStats::GitData::Repo#initialize

Defined in:
lib/git_stats/git_data/repo.rb

#initialize(params) ⇒ Repo

Returns a new instance of Repo.



15
16
17
18
19
# File 'lib/git_stats/git_data/repo.rb', line 15

def initialize(params)
  super
  @path = File.expand_path(@path)
  @tree_path ||= '.'
end