| Class | Map |
| In: |
lib/map.rb
lib/map/params.rb lib/map/options.rb lib/map/integrations/active_record.rb lib/map/struct.rb |
| Parent: | Hash |
| Version | = | '6.6.0' unless defined?(Version) |
| Load | = | Kernel.method(:load) unless defined?(Load) |
| Dup | = | instance_method(:dup) unless defined?(Dup) |
| 'new' | -> | '[]' |
| 'convert_value' | -> | 'convert_val' |
| '[]=' | -> | '__set__' |
| writer/reader methods | ||
| '[]' | -> | '__get__' |
| 'update' | -> | '__update__' |
| '[]=' | -> | 'store' |
| 'key?' | -> | 'include?' |
| 'key?' | -> | 'has_key?' |
| 'key?' | -> | 'member?' |
| 'update' | -> | 'merge!' |
| 'merge' | -> | '+' |
| 'values' | -> | 'vals' |
| 'each' | -> | 'each_pair' |
| 'to_hash' | -> | 'to_h' |
| 'to_array' | -> | 'to_a' |
| 'contains' | -> | 'contains?' |
TODO - technically this returns only leaves so the name isn‘t quite right. re-factor for 3.0