Method: Hyperactive::Index::MatchSaver#initialize

Defined in:
lib/hyperactive/index.rb

#initialize(key, matcher, mode) ⇒ MatchSaver

Initialize this MatchSaver with a key, a callable matcher and a mode (:select, :reject, :delete_if_match or :delete_unless_match).



96
97
98
99
100
# File 'lib/hyperactive/index.rb', line 96

def initialize(key, matcher, mode)
  @key = key
  @matcher = matcher
  @mode = mode
end