From: Nasir Khan Date: 2007-02-26T16:19:13+09:00 Subject: symbol to true object ------=_Part_48654_1219110.1172474349696 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Is there an idiom to convert the symbol :true to object true (of TrueClass)? Basically how can I better def validate_the_message (sym_arg) @vtm = case sym_arg when :true true when :false false else # do something else end end (assume @vtm an instance variable holding the choice.) TIA ------=_Part_48654_1219110.1172474349696--