Class: MosEisley::S3PO::GenericEvent
- Inherits:
-
Object
- Object
- MosEisley::S3PO::GenericEvent
- Defined in:
- lib/s3po/generic.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(e) ⇒ GenericEvent
constructor
A new instance of GenericEvent.
Constructor Details
#initialize(e) ⇒ GenericEvent
Returns a new instance of GenericEvent.
6 7 8 |
# File 'lib/s3po/generic.rb', line 6 def initialize(e) @event = e end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
4 5 6 |
# File 'lib/s3po/generic.rb', line 4 def event @event end |