Class | Mash |
In: |
lib/merb-core/core_ext/mash.rb
|
Parent: | Hash |
This class has dubious semantics and we only have it so that people can write params[:key] instead of params[‘key’].
[]= | -> | regular_writer |
key<Object>: | The key to set. This will be run through convert_key. |
value<Object>: | The value to set the key to. This will be run through convert_value. |
key<Object>: | The key to delete from the mash. This will be run through convert_key. |
key<Object>: | The key to fetch. This will be run through convert_key. |
extras: | Default value. |
Object: | The value at key or the default value. |
key<Object>: | The key to check for. This will be run through convert_key. |
Boolean: | True if the key exists in the mash. |
indices<Array>: | The keys to retrieve values for. These will be run through convert_key. |