method

new

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Git
new(name, repository, reference, submodules = false) public

Creates a new git gem source for a gems from loaded from repository at the given reference. The name is only used to track the repository back to a gem dependencies file, it has no real significance as a git repository may contain multiple gems. If submodules is true, submodules will be checked out when the gem is installed.

Show source
Register or log in to add new notes.