Method: Path#size

Defined in:
lib/path/file.rb

#sizeObject

Returns the file size in bytes. See File.size.



77
78
79
# File 'lib/path/file.rb', line 77

def size
  File.size(@path)
end