Problem with 'chomp'
Very simple program:
while($_ != "q")
puts "Running..."
print "Enter q to quit: "
gets
chomp
end
However - getting the following in any progams in which I use 'chomp': 'undefined local variable or method 'chomp' for main: Object (NameError)
|