From: Rong Date: 2009-09-22T11:05:21+09:00 Subject: start_with Can someone explain why this doesn't work? class Person attr_accessor :firstName P=[] def initialize P << self end def self.find_person(part) P.each {|e| if e.firstName.start_with(part) then return e end} end end u=Person.new u.firstName="Ron" r=Person.new r.firstName="Bob" q=Person.find_person("Ro") puts q.firstName