Could anyone explain to me why this isn't working?

	# returns 'no'
	case :foo.class
	  when Symbol then
	    puts 'yes'
	  else
	    puts 'no'
	end

.... when this does

	# returns 'yes'
	case :foo.class.object_id
	  when Symbol.object_id then
	    puts 'yes'
	  else
  	   puts 'no'
	end

I'm puzzled...


Thank you in advance,
Daniel Schierbeck