repo.or.cz
/
rubygit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
added some branching beginnings
[rubygit.git]
/
lib
/
git
/
branches.rb
blob
d664d59fb07802ec62e38f71b4b05f7a2be8b89e
1
module Git
2
3
# object that holds all the available branches
4
class Branches
5
include Enumerable
6
7
@base = nil
8
@branches = nil
9
10
def initialize(base)
11
@base = base
12
@branches = @base.lib.branches_all
13
end
14
15
end
16
end