add JRuby example for SCRIPT transformation (#1971)

Signed-off-by: Cody Cutrer <cody@cutrer.us>

Signed-off-by: Cody Cutrer <cody@cutrer.us>
pull/1976/head
Cody Cutrer 2022-12-20 15:12:58 -07:00 committed by GitHub
parent d3c8383817
commit 9318184665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -105,6 +105,17 @@ The script-prefix is `js`.
:::
::: tab JRuby
The script-prefix is `rb`.
```ruby
input ||= nil # see https://github.com/jruby/jruby/issues/5876
"String has #{input.length} characters"
```
:::
::::
Currently the `SCRIPT` transformation is not available as profile.