Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/java_integration.rb

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object

enable class equivalence between Hash and LinkedHashMap so that LinkedHashMap will work with case o when Hash …



21
22
23
24
# File 'lib/logstash/java_integration.rb', line 21

def self.===(other)
  return true if other.is_a?(Java::JavaUtil::Map)
  super
end