Statement Ruby

until($_ == "q")
puts "Running..."
print "Enter q to quit: "
gets
chomp
end