Class: Rugged::Remote
- Inherits:
-
Object
- Object
- Rugged::Remote
- Defined in:
- lib/pronto/rugged/remote.rb
Instance Method Summary collapse
Instance Method Details
#github_slug ⇒ Object
3 4 5 6 |
# File 'lib/pronto/rugged/remote.rb', line 3 def github_slug match = /.*github.com(:|\/)(?<slug>.*).git/.match(url) match[:slug] if match end |