From: "Chr. Rippel" Date: 2002-01-26T05:32:14+09:00 Subject: Re: Subrange of String subclass => invalid object >"Bob Alexander" wrote.. ... > Is this the intended consequence? For me it violated the "principle of > least surprise". Meaning this violates YMPOLS (your and my POLS;-). Actually a heavily championed and accepted recent RCR www.rubygarden.org/article.php?sid=104 is probably responsible for this sneaky type attack. A general way of dealing with these issues would be the introduction of a general #become framework - an interesting pointer is [ruby-talk:19856]. /Christoph