On Friday 12 December 2003 07:37 pm, Yukihiro Matsumoto wrote:
> Hmm, I like
>
>   attribute "a", "+r", "-w"
>
> much better than "enhancing" standard class.  I need to think about
> identity operator anyway, though.

that could work, but what about non-symbol characters like white space?

i gave some thought to modifying standard lib, so i did it like this:

  def +@; "#{self}_".intern; end
  def -@; "_#{self}".intern; end

so these might have some use by themself.

-- 
T.