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