We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b32d324 commit 2e87bb4Copy full SHA for 2e87bb4
1 file changed
RubyScript/rb/knime.rb
@@ -114,8 +114,8 @@ def [](idx)
114
str.downcase.gsub(/[^[[:word:]]]/, '_').gsub(/\_+/, '_').chomp('_')
115
end
116
col_names.each_with_index do |name, num|
117
- define_method(name) { getCell(num) } if num == 0
118
- define_method("i#{num}_#{name}") { getCell(num) }
+ define_method(name) { getCell(num) } if i == 0
+ define_method("i#{i}_#{name}") { getCell(num) }
119
120
121
0 commit comments