From: Leo Stern Date: 2009-12-04T11:10:29+09:00 Subject: Re: How to make net-ping thread safe? Jean-François Trân wrote: > 2008/3/16, Laurent Julliard : > >> Your recommendation is to turn the sequence number into a class >> variable so shouldn't the sequence number really be named @@seq >> rather than @seq if we want the sequence number to be unique across >> multiple instances of ICMP objects? > > If I am correct, Joel is using a ICMP class instance variable instead > of a class variable. So in the patch, @seq is not a var of an ICMP > object but an instance variable of ICMP class (as an object :) ). > > -- Jean-Fran�ois. Why? -- Posted via http://www.ruby-forum.com/.