Skip to content

Commit b790635

Browse files
committed
rb: addition to previous fix.
1 parent 1240c14 commit b790635

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

RubyScript/rb/knime.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class Java::OrgKnimeCoreDataContainer::DataContainer
158158
# Add row in the data container.
159159
# Row can be copied from input data container or created.
160160
def <<(obj)
161-
row = obj.kind_of? Cells ? createRowKey.new_row(obj) : obj
161+
row = obj.kind_of?(Cells) ? createRowKey.new_row(obj) : obj
162162

163163
addRowToTable row
164164
end

0 commit comments

Comments
 (0)