[ruby-core:63451] [ruby-trunk - Feature #9969] Add File.empty? as alias to File.zero?

From: e@...
Date: 2014-06-30 22:07:10 UTC
List: ruby-core #63451
Issue #9969 has been updated by Zachary Scott.

Tracker changed from Bug to Feature
Priority changed from Low to Normal
Target version set to current: 2.2.0

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

* Author: Robert A. Heiler
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: current: 2.2.0
----------------------------------------
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