Method: Git::Branches#to_s
- Defined in:
- lib/git/branches.rb
#to_s
61 62 63 64 65 66 67 |
# File 'lib/git/branches.rb', line 61 def to_s out = '' @branches.each do |k, b| out << (b.current ? '* ' : ' ') << b.to_s << "\n" end out end |