Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/gat/extends.rb

Class Method Summary collapse

Class Method Details

.nice_size(file) ⇒ Object



47
48
49
50
# File 'lib/gat/extends.rb', line 47

def self.nice_size(file)
  filesize = File.size(file)
  nice_file_size(filesize)
end