Class: Rugged::Reference
- Inherits:
-
Object
- Object
- Rugged::Reference
- Defined in:
- lib/ext/rugged.rb
Instance Method Summary collapse
Instance Method Details
#local? ⇒ Boolean
3 4 5 |
# File 'lib/ext/rugged.rb', line 3 def local? !remote? end |
#targets?(reference) ⇒ Boolean
11 12 13 |
# File 'lib/ext/rugged.rb', line 11 def targets?(reference) target == reference.target end |
#time ⇒ Object
7 8 9 |
# File 'lib/ext/rugged.rb', line 7 def time target.time end |