Robert Klemme wrote:
> Einar Ht wrote:
> 
> 
> It's not sufficient, you'll have to freeze those strings, too.  Note that
> this will freeze the originals which probably is a bad idea.  You could do
> 
> def ini(suit, rank)
>   @suit = suit.dup.freeze
>   @rank = rank.dup.freeze
>   freeze
> end
> 

Ah, I see - in C# "where I come from", strings are immutable. Of course, 
no-one will be using this code except me, so I'm definitely conjuring 
imaginary problems here - but at the same time, the whole point of this 
project is to learn about the language :-)

Thanks!

- Einar