Class: Evilution::Equivalent::Heuristic::NoopSource Private

Inherits:
Object
  • Object
show all
Defined in:
lib/evilution/equivalent/heuristic/noop_source.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#match?(mutation) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


6
7
8
# File 'lib/evilution/equivalent/heuristic/noop_source.rb', line 6

def match?(mutation)
  mutation.original_source == mutation.mutated_source
end