Method: GitTools::Branches.git_keep_branches_from_file
- Defined in:
- lib/git_tools/branches/cleaner.rb
.git_keep_branches_from_file ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/git_tools/branches/cleaner.rb', line 9 def self.git_keep_branches_from_file if File.exists?(KEEP_BRANCH_FILENAME) File.readlines(KEEP_BRANCH_FILENAME).each { |line| line.strip! } else [] end end |