class Gollum::Git::Ref

Public Class Methods

new(ref) click to toggle source
# File lib/grit_adapter/git_layer_grit.rb, line 271
def initialize(ref)
  @ref = ref
end

Public Instance Methods

commit() click to toggle source
# File lib/grit_adapter/git_layer_grit.rb, line 279
def commit
  Gollum::Git::Commit.new(@ref.commit)
end
name() click to toggle source
# File lib/grit_adapter/git_layer_grit.rb, line 275
def name
  @ref.name
end