Closed brianburridge closed 9 years ago
@Steve998 this works, so I can close out, but, the _starts_withvowel method could be a lot shorter. It could be done in one line. There is a method in the Array class to ask an array if it contains any object (like asking if it has the first letter in it).
Also note, on line 35, you are using a String interpolation there but it's not necessary. You could have done:
if first_letter == counter
As well, the to_s
wasn't needed on the counter since it was already a String.
This is assignment 14 and is due on Feb 02, 2015.