module GitBranch

Constants

VERSION

Public Class Methods

branch() click to toggle source
# File lib/git_branch.rb, line 6
def self.branch
  `git rev-parse --abbrev-ref HEAD`
end