Forum: Ruby-dev Dir instance methods for relative path

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
yhara (Yutaka HARA) (Guest)
on 2012-10-25 14:55
(Received via mailing list)
Issue #2324 has been updated by yhara (Yutaka HARA).

Target version changed from 2.0.0 to next minor

Feature #2324: Dir instance methods for relative path

Author: nobu (Nobuyoshi Nakada)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: core
Target version: next minor

 なかだです。 を

 $ ./ruby -v -e 'p"ext"){|d|"extmk.rb"){|f|f.gets}}'
 ruby 1.9.1 (2008-12-25 mvm 20976) [i686-linux]
 "#! /usr/local/bin/ruby\n"

 $ mkdir tmp
 $ touch tmp/x tmp/y
 $ ./ruby -e 'p"tmp"){|d|d.unlink("x")}'
 $ ls tmp/

 --- 僕の前にBugはない。
 --- 僕の後ろにBugはできる。
     中田 伸悦
This topic is locked and can not be replied to.