From: "Wolfgang Nádasi-Donner" Date: 2007-02-20T22:00:12+09:00 Subject: Re: Array#uniq - Comparison doesn't use 'eql?' and 'hash' Kalman Noel schrieb: > Although you already have the answer on dclr, for this list's archives: > Strings are handled in a special way, as shown here:... Then another question came up. There is one good reason to use class "String" in ad-hoc-tools, instead of a new class, that uses class "String": The constants. If I write write a = "this is a string" an object of class "String" will be created. If I have my wrapper class "MyString" which uses class "String", I must use some construct like a = MyString.new("this is my string") Is there some possibility to shorten this? Wolfgang Nádasi-Donner