O
Oliver Cromm
I feel that the Ruby interpreter is poking fun at me with this error:
findcols.rb:84:in `print': wrong number of arguments(1 for 0)
(ArgumentError)
The script does indeed run without errors as soon as I remove the
argument from print, but what sense should that make? The culprit line
with a little context:
(0..@peak).each do |n|
([email protected]).each {|i| print "*" if @cumul > n}
puts
end
findcols.rb:84:in `print': wrong number of arguments(1 for 0)
(ArgumentError)
The script does indeed run without errors as soon as I remove the
argument from print, but what sense should that make? The culprit line
with a little context:
(0..@peak).each do |n|
([email protected]).each {|i| print "*" if @cumul > n}
puts
end