enum

Similar::Algorithm

Inherits Enum < Comparable < Value < Object

An enum representing a diffing algorithm.

Constants

Myers = 0

Picks the myers algorithm from Similar::Algorithms::Myers

Patience = 1

Picks the patience algorithm from Similar::Algorithms::Patience

Lcs = 2

Picks the LCS algorithm from Similar::Algorithms::LCS

Instance methods

lcs?

Returns true if this enum value equals Lcs

Source
myers?

Returns true if this enum value equals Myers

Source
patience?

Returns true if this enum value equals Patience

Source