From: Panagiotis Atmatzidis Date: 2012-07-26T00:37:30+09:00 Subject: Re: simple optparse question on available options Hello, Thanks for the reply Robert and Stomar :-) On 25 Ιουλ 2012, at 16:50 , sto.mar@web.de wrote: > Am 24.07.2012 21:18, schrieb Panagiotis Atmatzidis: >> if options[:sort] == 'date' >> $f2b.sort_by_date >> elsif options[:sort] == "country" # <--- something like this? >> # etc... > > you are dealing with symbols, so > > if options[:sort] == :date > > > -- > > Panagiotis Atmatzidis ----------------------------- Pharmacy Student at VFU email4lists: ml@convalesco.org More info: http://about.me/atmosx The wise man said: "Never argue with an idiot, he brings you down to his level and beat you with experience."