From: lucasbuchala@... Date: 2016-02-17T23:21:21+00:00 Subject: [ruby-core:73867] [Ruby trunk Feature#9969] Add File.empty? as alias to File.zero? Issue #9969 has been updated by Lucas Buchala. I added a comment on issue #10121 before knowing this specific issue already existed. I just wanted to say that, with the arrival of Dir.empty?, I like the idea of the File.empty? alias for the reason of having some symmetry between Dir and File methods. ---------------------------------------- Feature #9969: Add File.empty? as alias to File.zero? https://bugs.ruby-lang.org/issues/9969#change-57037 * Author: Robert A. Heiler * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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/ Unsubscribe: