It's the named string replacement syntax in Ruby. Found it in the docs when looking for a way to do the Python equivalent of `foo = 'stuff-%s' % 'string'`.