[ruby-core:63269] [ruby-trunk - Bug #9969] [Open] Add File.empty? as alias to File.zero?

From: shevegen@...
Date: 2014-06-21 13:08:34 UTC
List: ruby-core #63269
Issue #9969 has been reported by Robert A. Heiler.

----------------------------------------
Bug #9969: Add File.empty? as alias to File.zero?
https://bugs.ruby-lang.org/issues/9969

* Author: Robert A. Heiler
* Status: Open
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] 
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Could we alias File.empty? to File.zero? ?

The latter already exists. I tried to use File.empty? 
and then thought it would not exist, but the code
already exists, it is just called File.zero? instead.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next