Module: javajava::util::Map

Defined in:
lib/logstash/java_integration.rb

Instance Method Summary collapse

Instance Method Details

#is_a?(clazz) ⇒ Boolean

have Map objects like LinkedHashMap objects report is_a?(Array) == true

Returns:

  • (Boolean)


62
63
64
65
# File 'lib/logstash/java_integration.rb', line 62

def is_a?(clazz)
  return true if clazz == Hash
  super
end