class Marisa::Search
- Marisa::Search
- Reference
- Object
Included Modules
- Enumerable(String)
Defined in:
marisa/search.crConstructors
Instance Method Summary
-
#each(&block : String -> )
Must yield this collection's elements to the block.
- #has_keys? : Bool
- #include?(key : String) : Bool
- #keys : Array(String)
- #reset_agent
- #search(prefix : String) : Search
-
#size : Int32
Returns the number of elements in the collection.
- #with_prefixes(&block : String -> )
Constructor Detail
Instance Method Detail
def each(&block : String -> )
#
Description copied from module Enumerable(String)
Must yield this collection's elements to the block.
def size : Int32
#
Description copied from module Enumerable(String)
Returns the number of elements in the collection.
[1, 2, 3, 4].size # => 4