Module: Git
- Defined in:
- lib/git/status_all.rb,
lib/git/status_all/git.rb,
lib/git/status_all/version.rb
Defined Under Namespace
Modules: StatusAll Classes: Branch, Branches
Class Method Summary collapse
Class Method Details
.repo?(path) ⇒ Boolean
2 3 4 5 6 7 8 9 |
# File 'lib/git/status_all/git.rb', line 2 def self.repo? path begin self.open path return true rescue return false end end |