From: David Thiel Date: 2001-05-22T09:09:18+09:00 Subject: [ruby-talk:15510] ruby methods and attributes Hello, I'm just working on learning ruby, and was trying to write a simple chatserver, but I guess I'm not understanding how the interpreter tells the difference between methods and attributes. I have an array full of users, each one of which has the socket they're connected on as an attribute. When I try and do something simple like "puts users.last.socket" to check and see if the socket was assigned properly, it complains that there's no such method as socket - I was expecting it to print the socket property. I may just be missing something obvious here, this is how I did it in python. Any help would be appreciated. Thanks, David