Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/spec/doc/style-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ For simple variables, or `variable.property`, you can even drop the curly braces
throw new Exception("Unable to convert resource: $resource")
----

You can even lazily evaluate those expressions using a closure notation with `${-> resource }`.
You can even lazily evaluate those expressions using a closure notation with `${\-> resource }`.
When the GString will be coerced to a String, it'll evaluate the closure and get the `toString()` representation of the return value.

Example:
Expand Down