From: Benoit Daloze Date: 2011-11-14T19:19:01+09:00 Subject: [ruby-core:41013] Re: [ruby-trunk - Feature #5628] Module#basename On 14 November 2011 07:32, Andrew Grimm wrote: > > Issue #5628 has been updated by Andrew Grimm. > > > I'm not sure about the method name. What should happen with File::basename ? Should it call super when there's no arguments, and do its own thing when called with an argument? I'd prefer Ruby to tell me that I forgot to pass in a string! I also agree this would be useful. But the name 'basename' is probably not the best. I remember I used simple_name for this, but it's not appealing.