From: "T. Onoma" Date: 2003-12-12T10:37:08+09:00 Subject: Fwd: Can't define +@ for Symbol (plus ruby install problem) Oops, my bad, wrong mailing list. Please see fowared message: ---------- Forwarded Message ---------- Subject: Can't define +@ for Symbol (plus ruby install problem) Date: Thursday 11 December 2003 08:30 pm From: "T. Onoma" To: ruby-core@ruby-lang.org I wanted to see if the +@ problem was fixed in 1.8.1 preview 3 but when I do make install I'm told that ruby's already installed and to use the -r option to reinstall. But make install dosn't seem to recognize the -r option. Is there something else I'm supposed to do? As for +@: -@ works fine but +@ acts as if it doesn't exist unless one uses paraethesis. class Symbol def -@; "-#{self}"; end def +@; "+#{self}"; end end p -(:s) # => "-s" p -:s # => "-s" p +(:s) # => "+s" p +:s # => :s Is there something about this that makes it unworkable? I hope not, since it's an important feature of a project of mine. T. ------------------------------------------------------- -- T.