module FindDupeImages

FindDupeImages

this is the main entry

FindDupeImages::Finder

will be run to scan the images

FindDupeImages::VERSION

Constants

IMAGE_MIME_TYPES

source www.sitepoint.com/web-foundations/mime-types-complete-list/

MAX_FILE_SIZE

some definitions. @TODO Should be refactored to a FindDupeImages::Configuration

VERSION

Public Class Methods

execute() click to toggle source

The only public interface method to run the scan

@return

# File lib/find_dupe_images.rb, line 34
def self.execute
  begin
    Finder.run
  rescue Error::DirectoryRequired
  end
end
logger() click to toggle source

create a logger

# File lib/find_dupe_images.rb, line 42
def self.logger
  FindDupeImages::Logger.new
end