Project

General

Profile

Actions

Bug #9716

closed

FileTest.exist? does not convert relative path to absolute path before testing existence

Added by 101b147ch (Mario Maia) about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
2.1.1p76 (2014-02-24 revision 45161) [i686-linux]
[ruby-core:61911]

Description

FileTest.exist?(Pathname.new('~/derp').expand_path) => true
FileTest.exist?(Pathname.new('~/derp')) => false

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0