Class: OpenHAB::Core::Events::ItemEvent
- Inherits:
-
AbstractEvent
- Object
- AbstractEvent
- OpenHAB::Core::Events::ItemEvent
- Defined in:
- lib/openhab/core/events/item_event.rb
Overview
Adds methods to core openHAB ItemEvent to make it more natural in Ruby
Direct Known Subclasses
Instance Attribute Summary collapse
-
#item ⇒ Item
readonly
The item that triggered this event.
Attributes inherited from AbstractEvent
Method Summary
Methods inherited from AbstractEvent
Instance Attribute Details
#item ⇒ Item (readonly)
Returns The item that triggered this event.
16 17 18 |
# File 'lib/openhab/core/events/item_event.rb', line 16 def item EntityLookup.lookup_item(item_name) end |