Class: MosEisley::S3PO::GenericEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/s3po/generic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eventObject (readonly)

Returns the value of attribute event.



4
5
6
# File 'lib/s3po/generic.rb', line 4

def event
  @event
end