Permalink
Browse files

Added comments, fixed typo in string.

  • Loading branch information...
1 parent 0be9671 commit 8c68d5f713764e60c65aee01b4cabd0818f92ba2 Zachary Alex Stern committed Aug 8, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 ex16/ex16.rb
View
@@ -1,8 +1,12 @@
+## set variable filename equal to string given by first argument
filename = ARGV.first
+## set variable script equal to the name of this file.
script = $0
+## Print out a line of text including evaluated variable "filename"
puts "We're going to erase #{filename}."
-puts "If you don't want that, hit CTROL-C (^C)."
+
+puts "If you don't want that, hit CTRL-C (^C)."
puts "If you do want that, hit RETURN."
print "? "

0 comments on commit 8c68d5f

Please sign in to comment.