Project

General

Profile

Actions

Feature #6481

closed

Add exists? to Pathname GH #126

Added by zzak (zzak _) over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Target version:
[ruby-core:45188]

Description

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

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


Files

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

Updated by luislavena (Luis Lavena) over 12 years ago

  • Status changed from Open to Assigned

Updated by akr (Akira Tanaka) over 12 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 [ruby-dev:20735].
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?.

Actions

Also available in: Atom PDF

Like0
Like0Like0