Feature #9969

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

Added by Robert A. Heiler 8 months ago. Updated 8 months ago.

[ruby-core:63269]
Status:Open
Priority:Normal
Assignee:-

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.

History

#1 Updated by Zachary Scott 8 months ago

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

Also available in: Atom PDF