Class: Fiesta::RepoUrlParser
- Inherits:
-
Object
- Object
- Fiesta::RepoUrlParser
- Defined in:
- lib/fiesta/repo_url_parser.rb
Instance Method Summary collapse
Instance Method Details
#repo ⇒ Object
8 9 10 |
# File 'lib/fiesta/repo_url_parser.rb', line 8 def repo repo_url.slice(/github.com[:\/](\S+\/\S+)\.git/, 1) end |