Class: Bringit::Branch
Constant Summary
Constants included from EncodingHelper
EncodingHelper::ENCODING_CONFIDENCE_THRESHOLD
Instance Attribute Summary
Attributes inherited from Ref
#dereferenced_target, #name, #target
Class Method Summary collapse
Methods inherited from Ref
dereference_object, extract_branch_name, #initialize, name_valid?
Methods included from EncodingHelper
Constructor Details
This class inherits a constructor from Bringit::Ref
Class Method Details
.find(repository, name) ⇒ Object
3 4 5 |
# File 'lib/bringit/branch.rb', line 3 def self.find(repository,name) repository.branches.find { |branch| branch.name == name } end |