Class: PGCrypto::KeyManager
- Inherits:
-
Hash
- Object
- Hash
- PGCrypto::KeyManager
- Defined in:
- lib/pgcrypto/key_manager.rb
Instance Method Summary collapse
Instance Method Details
#[]=(key, value) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/pgcrypto/key_manager.rb', line 3 def []=(key, value) unless value.is_a?(Key) value = Key.new(value) end value.name = key super key, value end |