Class: GitRecent::LocalBranchReader

Inherits:
Object
  • Object
show all
Defined in:
lib/git_recent/local_branch_reader.rb

Class Method Summary collapse

Class Method Details

.local_branches_excluding_currentObject


4
5
6
# File 'lib/git_recent/local_branch_reader.rb', line 4

def local_branches_excluding_current
  local_branches.reject { |b| b.current }.map(&:name).to_set
end