Class: ProxyRb::Events::BasicEvent
- Inherits:
-
Object
- Object
- ProxyRb::Events::BasicEvent
- Defined in:
- lib/proxy_rb/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
AfterResourceFetched, BeforeResourceFetched, ChangedConfiguration, ProxySet, ProxyUserSet, ResourceSet, ResourceUserSet
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/proxy_rb/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/proxy_rb/events.rb', line 12 def entity @entity end |