Class: OpenHAB::Core::Items::Semantics::Provider
- Defined in:
- lib/openhab/core/items/semantics/provider.rb
Overview
Provides SemanticTags created in Ruby to openHAB
Class Method Summary collapse
-
.registry ⇒ org.openhab.core.semantics.SemanticTagRegistry?
The SemanticTag registry.
Methods inherited from Provider
Methods included from Enumerable
#all_groups, #all_members, #command, #command!, #decrease, #down, #equipments, #fast_forward, #groups, #increase, #locations, #member_of, #members, #move, #next, #not_member_of, #not_tagged, #off, #on, #pause, #play, #points, #previous, #refresh, #rewind, #stop, #tagged, #toggle, #up, #update, #update!
Class Method Details
.registry ⇒ org.openhab.core.semantics.SemanticTagRegistry?
The SemanticTag registry
24 25 26 27 28 29 |
# File 'lib/openhab/core/items/semantics/provider.rb', line 24 def registry unless instance_variable_defined?(:@registry) @registry = OSGi.service("org.openhab.core.semantics.SemanticTagRegistry") end @registry end |