class GenericSearch

Included Modules

Direct Known Subclasses

Defined in:

search/engines/generic_search.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(logger : Logger = Logger.new(STDOUT)) #

[View source]

Instance Method Detail

def [](i, j) #

[View source]
def each(&) #
Description copied from module Enumerable(String)

Must yield this collection's elements to the block.


[View source]
def first #
Description copied from module Enumerable(String)

Returns the first element in the collection. Raises Enumerable::EmptyError if the collection is empty.

([1, 2, 3]).first   # => 1
([] of Int32).first # raises Enumerable::EmptyError

[View source]
def last #

[View source]
def query(q, options = {} of String => String) #

[View source]
def query2options(env) #

[View source]
def size #
Description copied from module Enumerable(String)

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4

[View source]