[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:01783] Slight incompatibility with new Symbol class

From: Dave Thomas <Dave@...>
Date: 2000-03-09 07:06:44 UTC
List: ruby-talk #1783
Symbol#id2name puts a colon in front of the return value, whereas
Fixnum does not. This breaks any old code that uses something like

   def method_missing(id)
     case id.id2name
     when "wombat"...

If this was a deliberate change, it's easy to fix the old code. I just 
wanted to mention it in case it wasn't intended.


Regards


Dave

In This Thread

Prev Next