Class: OpenHAB::Core::Rules::Provider

Inherits:
Provider
  • Object
show all
Defined in:
lib/openhab/core/rules/provider.rb

Overview

Provides rules created in Ruby to openHAB

Class Method Summary collapse

Methods inherited from Provider

#[], #all, current, #inspect

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

.registryorg.openhab.core.automation.RuleRegistry

The Rule registry

Returns:

  • (org.openhab.core.automation.RuleRegistry)


18
19
20
# File 'lib/openhab/core/rules/provider.rb', line 18

def registry
  $rules
end