> You don't need each_with_index for that. You have the list of articles > in @array_of_splits, so you just use [] to get the correct article: > > choice = gets.to_i - 1 # the array starts at 0 > @array_of_splits[choice] # returns the Article, show the fields you want > > Jesus. Yes, but it returns me #<Article:0xb78c49a4>, not a title and a text! -- Posted via http://www.ruby-forum.com/.