Project

General

Profile

Feature #9969

Add File.empty? as alias to File.zero?

Added by shevegen (Robert A. Heiler) about 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:63269]

Description

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.

Also available in: Atom PDF