Class: OpenHAB::Core::Things::ItemChannelLink
- Inherits:
-
Object
- Object
- OpenHAB::Core::Things::ItemChannelLink
- Defined in:
- lib/openhab/core/things/item_channel_link.rb
Overview
Instance Attribute Summary collapse
- #channel_uid ⇒ ChannelUID readonly
- #item ⇒ Item readonly
- #thing ⇒ Thing readonly
Instance Attribute Details
#channel_uid ⇒ ChannelUID (readonly)
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/openhab/core/things/item_channel_link.rb', line 18 class ItemChannelLink extend Forwardable def_delegator :linked_uid, :thing # @!attribute [r] item # @return [Item] def item DSL.items[item_name] end alias_method :channel_uid, :linked_uid end |
#item ⇒ Item (readonly)
25 26 27 |
# File 'lib/openhab/core/things/item_channel_link.rb', line 25 def item DSL.items[item_name] end |
#thing ⇒ Thing (readonly)
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/openhab/core/things/item_channel_link.rb', line 18 class ItemChannelLink extend Forwardable def_delegator :linked_uid, :thing # @!attribute [r] item # @return [Item] def item DSL.items[item_name] end alias_method :channel_uid, :linked_uid end |