Class: MrT::GitBranchSelect
- Inherits:
-
Object
- Object
- MrT::GitBranchSelect
- Defined in:
- lib/mrT/git_branch_select.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) items
3 4 5 |
# File 'lib/mrT/git_branch_select.rb', line 3 def items `git branch -a`.split.reject { |s| s == "*" || s == "->" || s.strip.empty? } end |