I have the following array:
nombres = ["Violeta", "Andino", "Clemente", "Javiera", "Paula", "Pia", "Ray"]
a = nombres.select{ |ele|}
I would like to know what would be the instruction to create in the variable a
a array
different that contains only the elements that begin with the letter P .