class Gollum::Git::Ref
Public Class Methods
new(ref)
click to toggle source
# File lib/grit_adapter/git_layer_grit.rb, line 268 def initialize(ref) @ref = ref end
Public Instance Methods
commit()
click to toggle source
# File lib/grit_adapter/git_layer_grit.rb, line 276 def commit Gollum::Git::Commit.new(@ref.commit) end
name()
click to toggle source
# File lib/grit_adapter/git_layer_grit.rb, line 272 def name @ref.name end