# File lib/test/unit/assertions.rb, line 2012 def result(parameters) raise "The number of parameters does not match the number of substitutions." if(parameters.size != count) params = parameters.dup expanded_template = "" @parts.each do |part| if part == '?' encoding_safe_concat(expanded_template, params.shift) else expanded_template << part.gsub(/\\\?/, '?') end end expanded_template end
Generated with the Darkfish Rdoc Generator 2.