stat.blocks â integer or nil
Instance Public methods
Returns the number of native file system blocks allocated for this file, or
nil
if the operating system doesn't support this feature.
File.stat("testfile").blocks #=> 2
Returns the number of native file system blocks allocated for this file, or
nil
if the operating system doesn't support this feature.
File.stat("testfile").blocks #=> 2
Please login to continue.