Sha256: d5f0d08cdf2e7bc25c36c2d8f1564bc50b0fc9a22549f78f5f96871d8de53844

Contents?: true

Size: 120 Bytes

Versions: 14

Compression:

Stored size: 120 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dev_commands-0.0.37 lib/git.rb
dev_commands-0.0.36 lib/git.rb
dev_commands-0.0.35 lib/git.rb
dev_commands-0.0.34 lib/git.rb
dev_commands-0.0.25 lib/git.rb
dev_commands-0.0.24 lib/git.rb
dev_commands-0.0.23 lib/git.rb
dev_commands-0.0.17 lib/git.rb
dev_commands-0.0.16 lib/git.rb
dev_commands-0.0.15 lib/git.rb
dev_commands-0.0.14 lib/git.rb
dev_commands-0.0.13 lib/git.rb
dev_commands-0.0.12 lib/git.rb
dev_commands-0.0.11 lib/git.rb