From: "Berger, Daniel" Date: 2006-03-27T23:47:09+09:00 Subject: Re: PATCH: A subclassable Pathname > -----Original Message----- > From: Evan Phoenix [mailto:evanwebb@gmail.com] > Sent: Monday, March 27, 2006 12:51 AM > To: ruby-core@ruby-lang.org > Subject: PATCH: A subclassable Pathname > > > A simply change (changing all references of "Pathname.new" to > "self.class.new") allows for an easily subclassable Pathname. > I doubt I need to explain why thats a good thing. Evan is absolutely correct. Come to think of it, I've broken this rule myself. Time to go back and review my code. Dan