From 14164516442eb7dbd90bee362c9639ae2c4ad4f7 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 3 Jan 2011 13:45:11 -0500 Subject: [PATCH] puts, print, and interpolation --- wikibooks-tutorial/strings.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 wikibooks-tutorial/strings.rb diff --git a/wikibooks-tutorial/strings.rb b/wikibooks-tutorial/strings.rb new file mode 100644 index 0000000..1970f2b --- /dev/null +++ b/wikibooks-tutorial/strings.rb @@ -0,0 +1,3 @@ +print "Enter name: " +name = gets.chomp +puts "Your name is #{name}"