I want this to throw an exception and die:
begin
if meridian != "AM" and meridian != "PM"
rescue
puts MESSAGE
end
end
I googled a lot, but nothing seems to work. I want an if statement to throw an exception if it fails.
Am I looking at this the wrong way?
this worked