From: Martin DeMello Date: 2009-06-01T16:58:07+09:00 Subject: [ruby-core:23656] Re: Counterpart to File.extname On Mon, Jun 1, 2009 at 12:52 PM, George wrote: > FWIW, there is a precedent: man 1 basename .� It was no doubt modelled after > this. Neat, I learnt something today :) > I agree a more intention-revealing name would be desirable. Yeah, no reason for ruby to confine itself to that way of doing things for sheer historical reasons. martin