Class: GitReporting::Report::Type::Timesheet

Inherits:
Base show all
Defined in:
lib/git_reporting/report/type.rb

Instance Attribute Summary

Attributes inherited from GitReporting::Report

#children, #key

Class Method Summary collapse

Methods inherited from GitReporting::Report

#append_child, build, #initialize, new_from_collection, #print, #time, #to_s

Constructor Details

This class inherits a constructor from GitReporting::Report

Class Method Details

.key_for_commit(commit) ⇒ Object



12
13
14
# File 'lib/git_reporting/report/type.rb', line 12

def self.key_for_commit(commit)
  commit.author
end