From: "aef (Alexander E. Fischer)" Date: 2012-11-15T22:38:41+09:00 Subject: [ruby-core:49376] [ruby-trunk - Feature #7362][Open] Adding Pathname#start_with? Issue #7362 has been reported by aef (Alexander E. Fischer). ---------------------------------------- Feature #7362: Adding Pathname#start_with? https://bugs.ruby-lang.org/issues/7362 Author: aef (Alexander E. Fischer) Status: Open Priority: Normal Assignee: Category: lib Target version: If a Pathname starts with another Pathname, that means that the former Pathname lies below the latter Pathname, as long as both Pathnames are interpreted from the same location or both are given as absolute. Therefore I would like to see a method #start_with? just like the one on String but for Pathnames. If you like the idea, just tell me. I will provide a patch then. -- http://bugs.ruby-lang.org/