Class: Duby::JVM::Types::TypeFactory::ParanoidHash
- Inherits:
-
Hash
- Object
- Hash
- Duby::JVM::Types::TypeFactory::ParanoidHash
- Defined in:
- lib/duby/jvm/types/factory.rb
Instance Method Summary collapse
Instance Method Details
#[]=(k, v) ⇒ Object
31 32 33 34 |
# File 'lib/duby/jvm/types/factory.rb', line 31 def []=(k, v) raise ArgumentError, "Can't store nil for key #{k.inspect}" if v.nil? super(k, v) end |