# File lib/git/branches.rb, line 44 def to_s out = '' @branches.each do |k, b| if b.current out += "* " + b.to_s + "\n" else out += " " + b.to_s + "\n" end end out end