From 67b1aff3bc3d51c2c45904fcfc7bf872937e7f58 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 7 Feb 2012 23:27:20 -0500 Subject: [PATCH] adding ex6 --- ex6.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ex6.rb diff --git a/ex6.rb b/ex6.rb new file mode 100644 index 0000000..b6361f5 --- /dev/null +++ b/ex6.rb @@ -0,0 +1,20 @@ +x = "There are #{10} types of people." +binary = "binary" +do_not = "don't" +y = "Those who know #{binary} and those who #{do_not}." + +puts x +puts y + +puts "I said: #{x}" +puts "I also said: '#{y}'." + +hilarious = false +joke_evaluation = "Isn't that joke so funny?! #{hilarious}" + +puts joke_evaluation + +w = "This is the left side of..." +e = "a string with a right side." + +puts w + e