Method: Fetchers::Git#initialize
- Defined in:
- lib/fetchers/git.rb
#initialize(remote_url, opts = {}) ⇒ Git
Returns a new instance of Git.
37 38 39 40 41 42 43 |
# File 'lib/fetchers/git.rb', line 37 def initialize(remote_url, opts = {}) @branch = opts[:branch] @tag = opts[:tag] @ref = opts[:ref] @remote_url = remote_url @repo_directory = nil end |