Skip to content

Instantly share code, notes, and snippets.

@ToreySound
Created October 27, 2013 01:07
Show Gist options
  • Save ToreySound/7176715 to your computer and use it in GitHub Desktop.
Save ToreySound/7176715 to your computer and use it in GitHub Desktop.
formatter = "%s %s %s %s"
puts formatter % [1, 2, 3, 4]
puts formatter % ["one", "two", "three", "four]"
puts formatter % [true, false, false, true]
puts formatter % [
"I had this thing.",
"That you could type up right.",
"But it didn't sing.",
"So I said goodnight."
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment