Module: RSpec::OpenHAB::Configuration
- Defined in:
- lib/rspec/openhab/configuration.rb
Class Attribute Summary collapse
-
.include_bindings ⇒ true, false
Copy binding configuration from the root OpenHAB instance Default
true. -
.include_jsondb ⇒ true, false
Copy the JSONDB (managed thing and item configuration) from the root OpenHAB instance Default
true. -
.private_confdir ⇒ true, false
Use a private (empty) confdir (scripts, rules, items, and things # files), instead of sharing with the root OpenHAB instance.
-
.use_root_instance ⇒ true, false
Use the root OpenHAB instance directly, rather than creating a private (but linked) instance.
Class Attribute Details
.include_bindings ⇒ true, false
Copy binding configuration from the root OpenHAB instance Default true
10 11 12 |
# File 'lib/rspec/openhab/configuration.rb', line 10 def include_bindings @include_bindings end |
.include_jsondb ⇒ true, false
Copy the JSONDB (managed thing and item configuration) from the root OpenHAB instance Default true
15 16 17 |
# File 'lib/rspec/openhab/configuration.rb', line 15 def include_jsondb @include_jsondb end |
.private_confdir ⇒ true, false
Use a private (empty) confdir (scripts, rules, items, and things # files), instead of sharing with the root OpenHAB instance. Default false
21 22 23 |
# File 'lib/rspec/openhab/configuration.rb', line 21 def private_confdir @private_confdir end |
.use_root_instance ⇒ true, false
Use the root OpenHAB instance directly, rather than creating a private (but linked) instance.
26 27 28 |
# File 'lib/rspec/openhab/configuration.rb', line 26 def use_root_instance @use_root_instance end |