Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
branch()
public
No documentation available.
# File lib/bundler/source/git/git_proxy.rb, line 72
def branch
@branch ||= allowed_in_path do
git("rev-parse --abbrev-ref HEAD").strip
end
end