method

build_message

v1_9_3_392 - Show latest stable - Class: Test::Unit::Assertions
build_message(head, template=nil, *arguments)
public

No documentation available.

# File lib/test/unit/assertions.rb, line 318
      def build_message(head, template=nil, *arguments) #:nodoc:
        template &&= template.chomp
        template.gsub(/\G((?:[^\\]|\\.)*?)(\\)?\?/) { $1 + ($2 ? "?" : mu_pp(arguments.shift)) }
      end