Class: Rave::Models::Event::BlipDeleted
- Inherits:
-
Rave::Models::Event
- Object
- Rave::Models::Event
- Rave::Models::Event::BlipDeleted
- Defined in:
- lib/models/event.rb
Overview
#blip will be nil, but #blip_id will give a sensible value.
Constant Summary
Constants inherited from Rave::Models::Event
Constants included from Rave::Mixins::ObjectFactory
Rave::Mixins::ObjectFactory::WILDCARD
Instance Attribute Summary
Attributes included from Rave::Mixins::ObjectFactory
Instance Method Summary collapse
-
#blip_id ⇒ Object
ID of the blip that was deleted [String] – This dummy method just added for the purposes of rdoc.
-
#initialize(options = {}) ⇒ BlipDeleted
constructor
:nodoc:.
Methods inherited from Rave::Models::Event
#blip, #modified_by, #timestamp, #wavelet
Methods included from Rave::Mixins::ObjectFactory
Methods included from Rave::Mixins::TimeUtils
Constructor Details
#initialize(options = {}) ⇒ BlipDeleted
:nodoc:
178 179 180 181 182 183 |
# File 'lib/models/event.rb', line 178 def initialize( = {}) # :nodoc: super() # Ensure a referenced blip is properly deleted. Destroyed blip won't exist. blip.delete_me(false) if @properties[BLIP_ID] and blip end |
Instance Method Details
#blip_id ⇒ Object
ID of the blip that was deleted [String] – This dummy method just added for the purposes of rdoc.
174 175 176 |
# File 'lib/models/event.rb', line 174 def blip_id # :nodoc: super end |