Class: Integrity::SCM::Git
- Inherits:
-
Object
- Object
- Integrity::SCM::Git
- Defined in:
- lib/integrity/scm/git.rb
Class Method Summary collapse
Class Method Details
.is_this_my_home?(location) ⇒ Boolean
5 6 7 8 |
# File 'lib/integrity/scm/git.rb', line 5 def self.is_this_my_home?( location ) uri = Addressable::URI.parse( location ) return (uri.scheme == "git" || uri.path =~ /\.git\/?/) end |