class Schmersion::Commit

Attributes

author[R]
date[R]
message[R]
raw_commit[R]
ref[R]

Public Class Methods

new(commit) click to toggle source
# File lib/schmersion/commit.rb, line 14
def initialize(commit)
  @message = Message.new(commit.message)
  @ref = commit.sha
  @date = commit.date
  @author = commit.author.name
  @raw_commit = commit
end