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
parent
d3c8383817
commit
9318184665
|
@ -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.
|
Currently the `SCRIPT` transformation is not available as profile.
|
||||||
|
|
Loading…
Reference in New Issue