Class: Similatron::ImagemagickComparisonEngine

Inherits:
ComparisonEngine show all
Defined in:
lib/similatron/imagemagick_comparison_engine.rb

Instance Method Summary collapse

Methods inherited from ComparisonEngine

#compare, #initialize

Constructor Details

This class inherits a constructor from Similatron::ComparisonEngine

Instance Method Details

#can_handle_mime?(mime_type) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/similatron/imagemagick_comparison_engine.rb', line 4

def can_handle_mime?(mime_type)
  mime_type =~ /image/
end