On Sun, 8 Apr 2007 04:18:59 +0900
Alex DeCaria <alex.decaria / millersville.edu> wrote:

> If I put a symbol into a TkVariable, it returns a string.  The following
> code
> illustrates this:
> 
> require 'tk'
> a = TkVariable.new
> a.value = :hi
> puts a.value == :hi
> puts a.value == "hi"
> 
> This results in
> 
> "false"
> "true"
> 
> My question is, "Is this what's supposed to happen, or is this a bug?"
> 

I think this is supposed to happen, as

:hi == 'hi'

also returns false.

Wim