ruby

Execute the given Ruby source code, returning the result. This is equivalent to calling PolyglotContext.evaluate and selecting Ruby as source language.

Return

The result of the invocation.

Parameters

source

The source code to be executed.

name

Name to provide for this source fragment.