Everything seems to be working fine except the commented line:
#return false if not s[0].upcase =~ /AZ/
and the fourth check.
What is t
try this...
def starts_with_consonant? s /^[^aeiou\d\W]/i =~ s ? true : false end