module EventSource::Entity
Attributes
uid[R]
Public Class Methods
new()
click to toggle source
# File lib/event_source/entity.rb, line 58 def initialize if defined? on_initialized on_initialized end end
Public Instance Methods
entity_events()
click to toggle source
# File lib/event_source/entity.rb, line 47 def entity_events @events ||= Array.new @events end
save()
click to toggle source
# File lib/event_source/entity.rb, line 52 def save entity_events.each {|e| e.save} end
Private Instance Methods
uid=(new_uid)
click to toggle source
# File lib/event_source/entity.rb, line 64 def uid=(new_uid) @uid = new_uid end