Class: Aruba::Events::BasicEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/aruba/events.rb

Overview

Basic event

This is not meant for direct use - BasicEvent.new - by users. It is inherited by normal events

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entity) ⇒ BasicEvent

Returns a new instance of BasicEvent.



13
14
15
# File 'lib/aruba/events.rb', line 13

def initialize(entity)
  @entity = entity
end

Instance Attribute Details

#entityObject (readonly)

Returns the value of attribute entity.



11
12
13
# File 'lib/aruba/events.rb', line 11

def entity
  @entity
end