Class: GitSwitch::GitHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/git_switch/git_helper.rb

Class Method Summary collapse

Class Method Details

.git_repo?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/git_switch/git_helper.rb', line 3

def self.git_repo?
  !find_git_repo.nil?
end