# File lib/git/base.rb, line 201 def is_branch?(branch) branch_names = self.branches.map {|b| b.name} branch_names.include?(branch) end