Class: Getv::Package::GitHub::Release
- Inherits:
-
Getv::Package::GitHub
- Object
- Getv::Package
- Getv::Package::GitHub
- Getv::Package::GitHub::Release
- Defined in:
- lib/getv/package/github/release.rb
Overview
Getv::Package::GitHub::Release class
Instance Attribute Summary
Attributes inherited from Getv::Package
Instance Method Summary collapse
-
#initialize(name, opts = {}) ⇒ Release
constructor
A new instance of Release.
Methods inherited from Getv::Package
create, #defaults, #latest_version, #update_versions, #versions
Constructor Details
#initialize(name, opts = {}) ⇒ Release
Returns a new instance of Release.
8 9 10 11 12 |
# File 'lib/getv/package/github/release.rb', line 8 def initialize(name, opts = {}) opts = defaults.merge(opts) opts = github_defaults(name).merge(opts) super name, opts end |