Class: V8::Portal::Templates::Release
- Defined in:
- lib/v8/portal/templates.rb
Instance Method Summary collapse
- #call(*args) ⇒ Object
-
#initialize(releases, refs, id) ⇒ Release
constructor
A new instance of Release.
Constructor Details
#initialize(releases, refs, id) ⇒ Release
Returns a new instance of Release.
61 62 63 |
# File 'lib/v8/portal/templates.rb', line 61 def initialize(releases, refs, id) @releases, @refs, @id = releases, refs, id end |
Instance Method Details
#call(*args) ⇒ Object
65 66 67 68 |
# File 'lib/v8/portal/templates.rb', line 65 def call(*args) @refs.delete(@id) @releases.delete(self) end |