Class: CookbookOmnifetch::GithubLocation
- Inherits:
-
GitLocation
- Object
- BaseLocation
- GitLocation
- CookbookOmnifetch::GithubLocation
- Defined in:
- lib/cookbook-omnifetch/github.rb
Instance Attribute Summary
Attributes inherited from GitLocation
#branch, #ref, #rel, #revision, #tag, #uri
Attributes inherited from BaseLocation
Instance Method Summary collapse
-
#initialize(dependency, options = {}) ⇒ GithubLocation
constructor
A new instance of GithubLocation.
Methods inherited from GitLocation
#==, #cache_key, #cached_cookbook, #install, #install_path, #installed?, #lock_data, #to_lock, #to_s
Methods inherited from BaseLocation
#cached_cookbook, #install, #installed?, #lock_data, #to_lock, #validate_cached!
Constructor Details
#initialize(dependency, options = {}) ⇒ GithubLocation
Returns a new instance of GithubLocation.
3 4 5 6 |
# File 'lib/cookbook-omnifetch/github.rb', line 3 def initialize(dependency, = {}) [:git] = "git://github.com/#{.delete(:github)}.git" super end |