Class: MPT::EventContainer

Inherits:
Object show all
Defined in:
lib/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(val = nil) ⇒ EventContainer

Returns a new instance of EventContainer.



34
35
36
# File 'lib/event.rb', line 34

def initialize( val = nil )
  self.event_object = val.dup unless val.nil?
end

Instance Attribute Details

#event_objectObject

Returns the value of attribute event_object.



32
33
34
# File 'lib/event.rb', line 32

def event_object
  @event_object
end