Hello guys, I have two objects that consist of arrays and I am suppose
to generate "an" and "a" articles for the words in the arrays by using a
new object.

Let's be more specific.
I have an object object1 = ['beatiful girl', 'ugly cat', 'small book']
and another object called object2 = ['ball', 'elephant', 'flower']. New
object called "identifier" should  generate the correct article (either
"a" or "an")in front of all these words from these 2 objects so it
should do this: a beautiful girl, an ugly cat, a small book, a ball, an
elephant, a flower.

Any suggestions?

Thank you

-- 
Posted via http://www.ruby-forum.com/.