Class: Fiesta::RepoUrlParser

Inherits:
Object
  • Object
show all
Defined in:
lib/fiesta/repo_url_parser.rb

Instance Method Summary collapse

Instance Method Details

#repoObject



8
9
10
# File 'lib/fiesta/repo_url_parser.rb', line 8

def repo
  repo_url.slice(/github.com[:\/](\S+\/\S+)\.git/, 1)
end