Use String#start_with? instead.