summaryrefslogtreecommitdiff
path: root/lib/rinda
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rinda')
-rw-r--r--lib/rinda/rinda.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rinda/rinda.rb b/lib/rinda/rinda.rb
index a977d5c..37af342 100644
--- a/lib/rinda/rinda.rb
+++ b/lib/rinda/rinda.rb
@@ -105,7 +105,9 @@ module Rinda
return false
end
next if v.nil?
- return false unless (v === it)
+ next if v == it
+ next if v === it
+ return false
end
return true
end