# File lib/fog/storage/models/local/file.rb, line 27 def content_type @content_type ||= begin unless (mime_types = ::MIME::Types.of(key)).empty? mime_types.first.content_type end end end