Sha256: 74b956afa466dbb05909a38b908f14230322045cfd803dac677964995440c875

Contents?: true

Size: 128 Bytes

Versions: 13

Compression:

Stored size: 128 Bytes

Contents

class Git
	def self.branch
		begin
		  `git branch`.scan(/\* ([.\w-]+)/)[0][0]
	    rescue
	    	''
	    end
    end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dev_commands-0.0.33 lib/git.rb
dev_commands-0.0.32 lib/git.rb
dev_commands-0.0.31 lib/git.rb
dev_commands-0.0.30 lib/git.rb
dev_commands-0.0.29 lib/git.rb
dev_commands-0.0.28 lib/git.rb
dev_commands-0.0.27 lib/git.rb
dev_commands-0.0.26 lib/git.rb
dev_commands-0.0.22 lib/git.rb
dev_commands-0.0.21 lib/git.rb
dev_commands-0.0.20 lib/git.rb
dev_commands-0.0.19 lib/git.rb
dev_commands-0.0.18 lib/git.rb