class Fzy::Match(T)
- Fzy::Match(T)
- Reference
- Object
Overview
A search operation returns an array of Match objects.
See Fzy.search
Included Modules
- Comparable(Fzy::Match(T))
Defined in:
fzy/match.crConstructors
Instance Method Summary
-
#<=>(other : Match)
A match is greater than other if it has a greater score.
- #hay : Hay(T)
- #item(*args, **options)
- #item(*args, **options, &)
-
#positions : Array(Int32) | Nil
Array of size of needle string, containing the position of each needle character into haystack string.
-
#score : Float32
Match score.
Constructor Detail
Instance Method Detail
def positions : Array(Int32) | Nil
#
Array of size of needle string, containing the position of each needle character into haystack string.