From: danb@... (DiesIrae) Date: 2004-09-03T04:05:19+09:00 Subject: array of objects within an object Hi all, I am storing an array of objects within another object, but am not sure how to print the values of the array out. When I do an Port.inspect, it gives me something like this: #, #], @protocol="tcp", @owner=[#, #> But when I do a Port.print_port, defined as def print_port "Port: #{@protocol}, #{@state}, #{@owner} " end it prints: Port: tcp, ##, ## So, How do I address the object with the ID of #, and print out its constituent values? thanks for any help. Dan