Update data_structures/arrays/remove_vowels.rb

Co-authored-by: vzvu3k6k <vzvu3k6k@gmail.com>
This commit is contained in:
Jessica Kwok 2021-03-29 10:00:33 -07:00 committed by GitHub
parent 5ed65199d7
commit 5bf141f64f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ def remove_vowels(s)
end end
s = 'leetcodeisacommunityforcoders' s = 'leetcodeisacommunityforcoders'
print(remove_vowels(s)) puts(remove_vowels(s))
# => "ltcdscmmntyfrcdrs" # => "ltcdscmmntyfrcdrs"
s = 'aeiou' s = 'aeiou'
print(remove_vowels(s)) print(remove_vowels(s))