This file acts as an alternative to NormalizedFile, due to the problems with current working directory.
269270271272273274275276277278279280281
ZipEntry entry = file_in_archive(filename); if (entry != null) { return runtime.newFixnum(entry.getSize()); } JRubyFile file = file(filename); if (!file.exists()) { noFileError(filename); } return runtime.newFixnum(file.length()); }