Class: File

Inherits:
Object show all
Defined in:
lib/overwrite.rb

Instance Method Summary collapse

Instance Method Details

#mime_typeString


130
131
132
# File 'lib/overwrite.rb', line 130

def mime_type
  `file -ib '#{self.path}'`.chomp
end