From: Dark Ambient Date: 2006-08-14T02:54:19+09:00 Subject: Search objects I can use some help here: I've set up this class and objects and would like to "search" it similar to the way I would search a database. At this point I'm not concerned with adding regex for more liberal searches. Any suggestions ? class Composer def initialize( lname, country ) @lname = lname @country = country end attr_accessor(:lname, :country) end comp1 = Composer.new("Beethoven", "Germany") comp2 = Composer.new("DeFalla", "Spain") comp3 = Composer.new("Debussy", "France")