Got ya. So it doesn't really matter if I convert things to ID and compare
on that basis or keep things a symbol. Thanks Bartosz.


On Sat, Mar 9, 2013 at 10:06 PM, Bartosz Dziewoski <matma.rex / gmail.com>wrote:

> On Sun, 10 Mar 2013 04:41:32 +0100, Cliff Rosson <cliff.rosson / gmail.com>
> wrote:
>
>  Also based on previous posts. What is the difference between a symbol and
>> an ID?
>>
>
> A symbol is an object of the Ruby class Symbol. It is essentially an
> integer that also has a textual human-readable representation - sort of
> like a magic numeric bconstant in other languages.
>
> An ID is an internal representation for a method/class name used in the C
> Ruby implementation. Under-the-hood it uses the same machinery as a Symbol,
> and thus can be converted to and from it easily.
>
>
> --
> Matma Rex
>
>


-- 
vizualize.me/cliffrosson