puts args = ['Syntax Error', 'test.rb', 20] # An array of arguments"%s: in '%s' line %d" % args # => "Syntax Error: in 'test.rb' line 20"