From: Faith Tarcha Date: 2011-10-29T19:30:14+09:00 Subject: Easy Title Generator Hi guys, I am struggling with one easy code. I have two objects that consist of arrays. One with Title adjectives (big, small, green) and the other with title nouns (apple, pear, banana). I am suppose to generate random titles (adjective+noun). @title_adj = ['big','small','green'] @title_noun = ['apple', pear, banana'] I am suppose to randomly generate titles like: big apple, small pear, red banana, green apple... (Only one title at the time) It should also correspond with this code that is in a different ruby file (and pass the rake test) : it "should randomly generate a title for the story" do @story_gen.title.should be_true end I am new to programming and will appreciate any kind of help as I am getting desperate sometimes. Thank you Faith -- Posted via http://www.ruby-forum.com/.