Sha256: 9a59846d4201a6a98ef1ac5f09db4d1be602a3f60d0ee884b35ab5b750d160b4

Contents?: true

Size: 173 Bytes

Versions: 1

Compression:

Stored size: 173 Bytes

Contents

module YSI
  class Git
    def run_git(args)
      `git #{args}`
    end

    def origin
      run_git("remote -v").match(/origin\s+(.*)\s+\(push\)/)[1]  
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yes_ship_it-0.0.4 lib/yes_ship_it/git.rb