# File rinject.rb, line 223 def to_log_warn(logger) if @verification_failures.size==0 and @case_failures.size==0 # nothing to do, because no failure elsif @verification_failures.size==0 # no verification_failures, but case_failures @case_failures.each do |cf| logger.warn(cf.to_s) end else # verification_failures @case_failures.each do |cf| @verification_failures.each do |vf| # if this verification_failure belongs to this case_failure if cf.fid == vf.fid logger.warn(vf.to_s) end end logger.warn(cf.to_s) end end end