Format strings dynamically in ruby

#TIL you can format strings dynamically and neatly with:

puts "%s is at %s" % [
  'John',
  'Singapore'
]

=> John is at Singapore

Reference:

Stackoverflow

Big Ruby 2014 Video - Throw some keys in
it