Personally, I don't have a problem with "reducing the contract"
of a String. Freezing an object also reduces its contract.

Hal

On Tue, Jun 19, 2012 at 8:35 AM, Robert Klemme
<shortcutter / googlemail.com>wrote:

> On Tue, Jun 19, 2012 at 12:31 AM, Eric Hodel <drbrain / segment7.net> wrote:
> > This happened (see thread at [ruby-core:9188]) but was reverted.  I
> can't think of the proper keywords to find the reason for the reversion.
>
> I one has Symbol inherit String then "is a" relationship is violated.
> You cannot use the sub class where you can use the super class (e.g.
> try to append to a frozen String).  See David's remark
>
> http://ruby.11.n6.nabble.com/Bikeshed-No-more-Symbol-String-tp3558662p3558699.html
>
> Cheers
>
> robert
>
> --
> remember.guy do |as, often| as.you_can - without end
> http://blog.rubybestpractices.com/
>
>