Skip to content

Commit d76be20

Browse files
committed
updated node descriptions
1 parent f7a93bb commit d76be20

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

RubyScript/src/org/knime/ext/jruby/RubyScriptNodeFactory.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<option name="Example use to create new DataTable from custom data:"><pre>
4242
$inData0.each do |row|
43-
$outContainer &lt;&lt; Cells.new.string(row.getCell(0).to_s.length.to_s)
43+
$outContainer &lt;&lt; Cells.new.string(row[0].to_s.length.to_s)
4444
end
4545
</pre></option>
4646
</tab>

RubyScript/src/org/knime/ext/jruby/RubyScriptNodeFactory22.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<option name="$inData0">The input DataTable containing all available input from input port 0.</option>
2626
<option name="$inData1">The input DataTable containing all available input from input port 1.</option>
2727
<option name="$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>
28+
<option name="$outContainer0">Output container housing the outgoing DataTable for output port 0. The same as $outContainer.</option>
2829
<option name="$outContainer1">Output container housing the outgoing DataTable for output port 1.</option>
2930

3031
<option name="Example use to copy all input row of DataTable:"><pre>
@@ -42,7 +43,7 @@
4243

4344
<option name="Example use to create new DataTable from custom data:"><pre>
4445
$inData0.each do |row|
45-
$outContainer &lt;&lt; Cells.new.string(row.getCell(0).to_s.length.to_s)
46+
$outContainer0 &lt;&lt; Cells.new.string(row[0].to_s.length.to_s)
4647
end
4748
</pre></option>
4849
</tab>

0 commit comments

Comments
 (0)