Class: Blastr::SourceControl::GitLogEntry
- Defined in:
- lib/scm/git.rb
Instance Attribute Summary
Attributes inherited from LogEntry
Instance Method Summary collapse
-
#initialize(commit) ⇒ GitLogEntry
constructor
A new instance of GitLogEntry.
Methods inherited from LogEntry
Constructor Details
#initialize(commit) ⇒ GitLogEntry
Returns a new instance of GitLogEntry.
8 9 10 11 12 |
# File 'lib/scm/git.rb', line 8 def initialize(commit) @revision = GitRevision.new(commit.sha, commit.date) = commit..name @comment = commit. end |