From: Yukihiro Matsumoto Date: 2008-05-09T00:33:26+09:00 Subject: Re: Comparing String with Symbol Hi, In message "Re: Comparing String with Symbol" on Fri, 9 May 2008 00:04:22 +0900, Roger Pack writes: |I usually just convert them over |pos = pos.to_s |> Maybe using: |> if pos.to_s == 'first' |> is the best way? I'd rather use to_sym instead of to_s. matz.