Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add File.zero? #181

merged 1 commit into from May 1, 2013


None yet
2 participants

emilsoman commented Mar 11, 2013

Add File.zero?(file_name) => true or false

Ruby Doc :

zero?(file_name) Returns true if the named file exists and has a zero size.

@smtlaissezfaire smtlaissezfaire merged commit 025b7db into fakefs:master May 1, 2013

@emilsoman emilsoman deleted the emilsoman:file-zero branch May 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment