Method: Mongoose::LinearSearch#==

Defined in:
lib/mongoose/linear_search.rb

#==(other) ⇒ Object



80
81
82
83
84
85
86
87
88
# File 'lib/mongoose/linear_search.rb', line 80

def ==(other)
  return search_table do |table_value|
    if table_value.nil? 
      false
    else
      table_value == other 
    end
  end
end