Mistři v programování na #hovnokod

Ruby #288

unless cs.blank?
cs.each do |cc|
unless cc.nil?
unless cc['StatsDetail'].nil?
ccs=cc['StatsDetail']
ccs=cc['StatsDetail'].to_a
ccs.each do |cc1|
cc2=cc1
ctime = Time.at(cc2.time.to_i).midnight
c_url_keyword[ctime] = {} if c_url_keyword[ctime].nil?
k = {:url=>cc2.url, :keyword=>cc2.keyword, um=>0.0}
c_url_keyword[ctime][k] = {um=>0, :clicks=>0, :id=>cc2.adConditionId} if c_url_keyword[ctime][k].nil?
c_url_keyword[ctime][k][um]+=cc2.bid.to_f
c_url_keyword[ctime][k][:clicks]+=1
end
end
end
end
end

HovnoKod,