This code replaces every vowel of the string with X:def vowel_censor(sentence)    vowels = aeiou.chars    result = []    sentence.chars.each do |charachter|      if vowels.include?(charachter)        result << X      else        result << charachter      end    end    result.join()endputs ---------Vowel Censor----------puts vowel_censor(Let's order a pizza) == LXt's XrdXr X pXzzXputs vowel_censor(Nitwit, blubber, oddment, tweak) == NXtwXt, blXbbXr, XddmXnt, twXXkputs vowel_censor(Supercalifragilisticexpialidocious) == SXpXrcXlXfrXgXlXstXcXxpXXlXdXcXXXs
Replacing the vowels of a string with the letter X
strings;ruby;ruby on rails