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