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.
14 15 16 |
# File 'lib/aruba/events.rb', line 14 def initialize(entity) @entity = entity end |
Instance Attribute Details
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
12 13 14 |
# File 'lib/aruba/events.rb', line 12 def entity @entity end |