Feature #6481

Add exists? to Pathname GH #126

Added by Zachary Scott about 3 years ago. Updated about 3 years ago.

[ruby-core:45188]
Status:Rejected
Priority:Normal
Assignee:Akira Tanaka

Description

I've added Paul McMahon's patch from GH #126

https://github.com/ruby/ruby/pull/126

add-exists-to-pathname.patch Magnifier (1.47 KB) Zachary Scott, 05/23/2012 06:48 AM

History

#1 Updated by Luis Lavena about 3 years ago

  • Status changed from Open to Assigned

#2 Updated by Akira Tanaka about 3 years ago

  • Status changed from Assigned to Rejected

Ruby has a rule that method names should use a bare verb.

For example, matz described it in .
I'm not sure that matz described it in English.

Although File#exists? is not removed for compatibility,
it doesn't mean we should add Pathname#exists?.

Also available in: Atom PDF