/* * call-seq: * dir.count -> integer * * Return a count of the number of files in the directory. */ static VALUE frt_dir_file_count(VALUE self) { Store *store = DATA_PTR(self); return INT2FIX(store->count(store)); }