You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently employs jRuby v1.7.9 with Ruby 2.0 syntax.
9
+
</shortDescription>
10
+
11
+
<fullDescription>
12
+
<intro>Executes a small jRuby script. The main difference between this node and Ruby Script is that it operates with each row of input DataTable separately and returns a new row for output DataTable. A simple example script is included in the dialog's text window of the Script tab.
13
+
<p>This node uses Ruby-wrapper. See knime.rb at <ahref="https://github.com/rssdev10/ruby4knime">ruby4knime</a></p>
14
+
15
+
<p>Also you can include additional gems from an external jRuby installation. But before setup jRuby path in preferences.</p>
16
+
17
+
</intro>
18
+
19
+
<tabname="Script output">
20
+
<optionname="Append columns to input table spec">If checked, the columns as given in the list are appended to the input table specification, i.e. the number of columns in the output table equals the number of input columns plus the number of columns as given in the list. If unchecked, the output table will have as many columns as given in the list.</option>
21
+
<optionname="Column list">Specify the column name and type of all result columns. After adding a new column, click on the name or type to change its value.</option>
22
+
</tab>
23
+
24
+
<tabname="Script">
25
+
<optionname="$inData0">The input DataTable containing all available input from input port 0.</option>
26
+
<optionname="$outContainer">Output container housing the outgoing DataTable for output port 0. This must be populated with rows by the script or else there will be no output from the node.</option>
27
+
28
+
<optionname="row">Current row of input DataTable.</option>
29
+
30
+
<optionname="Example use to copy all input rows of DataTable:"><pre>
31
+
row # Only row!
32
+
</pre></option>
33
+
<optionname="Example use to extend input rows by new columns:"><pre>
0 commit comments