From: sto.mar@... Date: 2012-07-25T22:50:47+09:00 Subject: Re: simple optparse question on available options 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 --