Top Level Namespace

Defined Under Namespace

Modules: Bundler, OpenHAB, RSpec

Constant Summary collapse

OPENHAB_AUTOMATION_PATH =

load rules files

"#{org.openhab.core.OpenHAB.config_folder}/automation/jsr223/ruby/personal"

Instance Method Summary collapse

Methods included from OpenHAB::DSL::Imports

import_presets

Instance Method Details

#chObject



3
4
5
# File 'lib/rspec/openhab/core/logger.rb', line 3

def ch
  Java::Ch
end

#gemfile(&block) ⇒ Object



9
10
11
12
# File 'lib/rspec/bundler/inline.rb', line 9

def gemfile(*, &block)
  # needs to be a no-op, since we're already running in the context of bundler
  Bundler::DummyDsl.new.instance_eval(&block)
end