class Gollum::Git::Ref

Public Class Methods

new(ref) click to toggle source
# File lib/rugged_adapter/git_layer_rugged.rb, line 513
def initialize(ref)
  @ref = ref
end

Public Instance Methods

commit() click to toggle source
# File lib/rugged_adapter/git_layer_rugged.rb, line 521
def commit
  Gollum::Git::Commit.new(@ref.target)
end
name() click to toggle source
# File lib/rugged_adapter/git_layer_rugged.rb, line 517
def name
  @ref.name
end