From: Ronnie Aa Date: 2013-02-12T01:58:03+09:00 Subject: Re: firtst and only element of array (noob level) Wayne Brisette wrote in post #1096317: > You could always run a check of the array and see how many items are in > it, if > there is only one, then do something like: > > array.first > > that way you don't have to use [0]. > > Wayne > Hi Wayne, Thnx for your suggestion -- Posted via http://www.ruby-forum.com/.