From: "mame (Yusuke Endoh)" Date: 2012-11-24T10:47:12+09:00 Subject: [ruby-core:49954] [ruby-trunk - Feature #7362][Assigned] Adding Pathname#start_with? Issue #7362 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned Assignee set to akr (Akira Tanaka) Target version set to next minor ---------------------------------------- Feature #7362: Adding Pathname#start_with? https://bugs.ruby-lang.org/issues/7362#change-33720 Author: aef (Alexander E. Fischer) Status: Assigned Priority: Normal Assignee: akr (Akira Tanaka) Category: lib Target version: next minor 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/