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 …



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

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