2009/2/5 Iñáki Baz Castillo <ibc / aliax.net>: > 2009/2/4 Iñáki Baz Castillo <ibc / aliax.net>: >>> I did not look too closely but it seems that the shared state is used >>> read only. You can easily verify yourself by simply freezing it and >>> see whether you get errors from that. >> >> You are right! The only writtable variables are local variables inside class >> methods! > > Also, using a Class instead of instances is faster since there is no > need of "initialize" for each usage, am I right? In theory yes. But IMHO the primary reason for stuffing something into the class should not be performance but the appropriateness in terms of design. If it is something that all class instances must share it belongs into the class. Kind regards robert -- remember.guy do |as, often| as.you_can - without end