Fix "Hello, World!" examples in automation documentation (#14041)
The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -75,7 +75,7 @@ The openHAB server uses the [SLF4J](https://www.slf4j.org/) library for logging.
|
||||
require 'java'
|
||||
java_import org.slf4j.LoggerFactory
|
||||
|
||||
LoggerFactory.getLogger("org.openhab.automation.examples").info("Hello world!")
|
||||
LoggerFactory.getLogger("org.openhab.automation.examples").info("Hello, World!")
|
||||
```
|
||||
|
||||
JRuby can [import Java classes](https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby).
|
||||
|
||||
Reference in New Issue
Block a user