Class | Git::Branches |
In: |
lib/git/branches.rb
|
Parent: | Object |
# File lib/git/branches.rb, line 10 def initialize(base) @branches = {} @base = base @base.lib.branches_all.each do |b| @branches[b[0]] = Git::Branch.new(@base, b[0]) end end