class

Fzy::Match(T)

Inherits Comparable < Reference < Object

A search operation returns an array of Match objects. See Fzy.search

Constructors

new(downcase_needle : String, hay : Hay(T), store_positions : Bool = false)
Source

Instance methods

<=>(other : Match)

A match is greater than other if it has a greater score.

Source
item(*args, **options)
Source
item(*args, **options, &)
Source
positions

Array of size of needle string, containing the position of each needle character into haystack string.

Source
score

Match score.

Source