Class: Rfix::Branch::Reference
- Defined in:
- lib/rfix/branch/reference.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#resolve ⇒ Object
8 9 10 11 12 |
# File 'lib/rfix/branch/reference.rb', line 8 def resolve repository.lookup(repository.rev_parse(name).oid) rescue Rugged::Error, Rugged::InvalidError, Rugged::ReferenceError raise Error, "Reference #{name.inspect} not found" end |