Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Paperclip::FileCommandContentTypeDetector

Constants

SENSIBLE_DEFAULT

Public Class Methods

new(filename) click to toggle source
# File lib/paperclip/file_command_content_type_detector.rb, line 5
def initialize(filename)
  @filename = filename
end

Public Instance Methods

detect() click to toggle source
# File lib/paperclip/file_command_content_type_detector.rb, line 9
def detect
  type_from_file_command
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.