Class: V8::Portal::Templates::Release

Inherits:
Object
  • Object
show all
Defined in:
lib/v8/portal/templates.rb

Instance Method Summary collapse

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