Class: Aruba::Events::BasicEvent
- Inherits:
-
Object
- Object
- Aruba::Events::BasicEvent
- 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
Direct Known Subclasses
AddedEnvironmentVariable, ChangedConfiguration, ChangedEnvironmentVariable, ChangedWorkingDirectory, CommandStarted, CommandStopped, DeletedEnvironmentVariable
Instance Attribute Summary collapse
-
#entity ⇒ Object
readonly
Returns the value of attribute entity.
Instance Method Summary collapse
-
#initialize(entity) ⇒ BasicEvent
constructor
A new instance of BasicEvent.
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
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
11 12 13 |
# File 'lib/aruba/events.rb', line 11 def entity @entity end |