summaryrefslogtreecommitdiffstats
path: root/lib/git/branches.rb
blob: d664d59fb07802ec62e38f71b4b05f7a2be8b89e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Git
  
  # object that holds all the available branches
  class Branches
    include Enumerable
    
    @base = nil
    @branches = nil
    
    def initialize(base)
      @base = base
      @branches = @base.lib.branches_all
    end
    
  end
end