class DtkCommon::GitRepo::Adapter::Rugged::Commit

Public Class Methods

new(repo_branch,rugged_commit) click to toggle source
Calls superclass method
# File lib/git_repo/adapters/rugged/commit.rb, line 21
def initialize(repo_branch,rugged_commit)
  super(repo_branch)
  @rugged_commit = rugged_commit
end

Public Instance Methods

tree() click to toggle source
# File lib/git_repo/adapters/rugged/commit.rb, line 26
def tree()
  Tree.new(@repo_branch,@rugged_commit.tree)
end