Sha256: cccee6f9e90bd09b7ba2b7ff353dbf844e8e49db0a8b111d018b7f3993d6c1ce
Contents?: true
Size: 187 Bytes
Versions: 1
Compression:
Stored size: 187 Bytes
Contents
module Traquitana class Git def self.current_branch IO.popen('git rev-parse --abbrev-ref HEAD') do |io| io.read.chomp end rescue nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
traquitana-2.0.6 | lib/git.rb |