Class: Metior::Report::Default::MostSignificantCommits

Inherits:
View
  • Object
show all
Defined in:
reports/default/views/most_significant_commits.rb

Overview

Author:

  • Sebastian Staudt

Instance Method Summary collapse

Methods inherited from View

inherited, #initialize, #method_missing, #render, #repository, requires, #respond_to?, #vcs_name

Methods included from ViewHelper

#count, #even_odd, #reset_count

Constructor Details

This class inherits a constructor from Metior::Report::View

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Metior::Report::View

Instance Method Details

#commitsObject



13
14
15
# File 'reports/default/views/most_significant_commits.rb', line 13

def commits
  repository.commits(@report.range).most_significant(5).values
end