module Syncoku::Git
Public Instance Methods
extract_app_name(name)
click to toggle source
# File lib/syncoku/git.rb, line 4 def extract_app_name(name) run_command("git remote -v | grep #{name} | grep push").match(/(\/|:)([^\/:]*)\.git/)[2] end