1141 1142 1143 1144 1145
# File 'lib/map.rb', line 1141 def contains(other) other = other.is_a?(Hash) ? Map.coerce(other) : other breadth_first_each{|key, value| return true if value == other} return false end