Skip to content

Commit

Permalink
Link to the github pages at the bottom of USAGE.md (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimtng authored Aug 30, 2023
1 parent 3e6db57 commit 3cfa760
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ If you're new to Ruby, you may want to check out [Ruby Basics](docs/ruby-basics.
- [Dynamic Generation of Rules](#dynamic-generation-of-rules)
- [Hooks](#hooks)
- [Calling Java From JRuby](#calling-java-from-jruby)
- [Full Documentation](#full-documentation)

Additional [example rules are available](docs/examples.md), as well as examples of [conversions from DSL and Python rules](docs/conversions.md).

Expand Down Expand Up @@ -1687,7 +1688,7 @@ end

## Calling Java From JRuby

JRuby can access almost any Java object that's available in the current JVM.
JRuby can [access almost any Java object](https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby) that's available in the current JVM.
This is how the library is implemented internally.

```ruby
Expand All @@ -1700,4 +1701,6 @@ formatter = DateTimeFormatter.of_pattern("yyyy MM dd")
formatter = java.time.format.DateTimeFormatter.of_pattern("yyyy MM dd")
```

See [full documentation from JRuby](https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby)
## Full Documentation

Visit <https://openhab.github.io/openhab-jruby/> for the full documentation of the **openHAB JRuby Helper Library**.

0 comments on commit 3cfa760

Please sign in to comment.