Mega Code Archive
Categories
/
Ruby
/
Language Basics
Format a string with puts
#!/usr/bin/env ruby puts "%s, %s!" % [ "Hello", "myValue" ]