Class: CleanHash::Strict
- Inherits:
-
Indifferent
- Object
- Indifferent
- CleanHash::Strict
- Defined in:
- lib/clean-hash/types/strict_type.rb
Instance Method Summary collapse
Methods inherited from Indifferent
#delete, #each, #initialize, #key?, #keys, #method_missing, #to_ary, #to_h, #to_json, #values
Constructor Details
This class inherits a constructor from CleanHash::Indifferent
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CleanHash::Indifferent
Instance Method Details
#[](key) ⇒ Object
5 6 7 8 |
# File 'lib/clean-hash/types/strict_type.rb', line 5 def [] key _check_key_existance key super end |
#[]=(key, value) ⇒ Object
10 11 12 13 |
# File 'lib/clean-hash/types/strict_type.rb', line 10 def []= key, value _check_key_existance key super end |