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.



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

def initialize(entity)
  @entity = entity
end

Instance Attribute Details

#entityObject (readonly)

Returns the value of attribute entity.



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

def entity
  @entity
end