Class: Gollum::Git::Ref
- Inherits:
-
Object
- Object
- Gollum::Git::Ref
- Defined in:
- lib/rjgit_adapter/git_layer_rjgit.rb
Instance Method Summary collapse
- #commit ⇒ Object
-
#initialize(name, commit) ⇒ Ref
constructor
A new instance of Ref.
- #name ⇒ Object
Constructor Details
#initialize(name, commit) ⇒ Ref
Returns a new instance of Ref.
316 317 318 |
# File 'lib/rjgit_adapter/git_layer_rjgit.rb', line 316 def initialize(name, commit) @name, @commit = name, commit end |