NetBeans 6.5, отладка, n_col имеет значение 0. доходит до условия:
if (n_col == 3)Весь метод:
class GismeteoParser < WeatherParser
  def parse
      weather = $& if @html =~ /<tbody(\s|.)*?<\/tbody>/
      n_row = 0
      cloud, date, hour = 0, 0, 0
      weather.scan(/<tr(\s|.)*?<\/tr>/) do
        row = $&
        n_col = 0
        row.scan(/<td(\s|.)*?<\/td>/) do
          col = $&
          #date = col.scan(/>\d+</).scan(/\d+/) if n_col == 0
          if (n_col == 3)
            img_name = $& if col =~ /\/\w+\.png/ else img_name = ""
            img_name.sub!(/w+/) do |png|
              case png
              when "dull" then "100"
              when "cloud" then "75"
              when "suncl" then "50"
              when "sunc" then "25"
              when "sun" then "0"
              end
            end
            cloud = s.to_i unless s = img_name.scan(/\d+/)
            next
          end
          n_col += 1
        end
        @cloudness.push("#{date}.#{@month}.2010 #{hour}:00;#{cloud}")
        n_row += 1
      end
  end
end




