Project

General

Profile

Actions

Feature #9969

closed

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

Added by shevegen (Robert A. Heiler) over 10 years ago. Updated over 8 years ago.

Status:
Closed
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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0