masipila 2025-05-09 22:25:05 +02:00 committed by GitHub
commit 69cc7339ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -145,7 +145,7 @@ Examples:
::: tab DSL ::: tab DSL
```java ```java
DSL(|"String has " + input.length + " characters") |"String has " + input.length + " characters"
``` ```
::: :::
@ -156,7 +156,7 @@ For the modern JS Scripting, the transformation is `JS(|...)`.
For the legacy JS Scripting, the transformation is `NASHORNJS(|...)`. For the legacy JS Scripting, the transformation is `NASHORNJS(|...)`.
```javascript ```javascript
JS(|"String has " + input.length + " characters") |"String has " + input.length + " characters"
``` ```
::: :::
@ -164,7 +164,7 @@ JS(|"String has " + input.length + " characters")
::: tab JRuby ::: tab JRuby
```ruby ```ruby
RB(|"String has #{input.length} characters") |"String has #{input.length} characters"
``` ```
::: :::
@ -172,7 +172,7 @@ RB(|"String has #{input.length} characters")
::: tab Groovy ::: tab Groovy
```groovy ```groovy
GROOVY(|"String has ${input.length()} characters") |"String has ${input.length()} characters"
``` ```
::: :::