Class: Similatron::DiffComparisonEngine

Inherits:
ComparisonEngine show all
Defined in:
lib/similatron/diff_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/diff_comparison_engine.rb', line 4

def can_handle_mime?(mime_type)
  mime_type !~ /charset=binary/
end