Class: MPT::EventContainer
Instance Attribute Summary collapse
-
#event_object ⇒ Object
Returns the value of attribute event_object.
Instance Method Summary collapse
-
#initialize(val = nil) ⇒ EventContainer
constructor
A new instance of EventContainer.
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_object ⇒ Object
Returns the value of attribute event_object.
32 33 34 |
# File 'lib/event.rb', line 32 def event_object @event_object end |