hashie/benchmarks
Michael Herold 15ea67ef06
Add a PermissiveRespondTo extension for Mashes
By default, Mashes don't state that they respond to unset keys. This
causes unexpected behavior when you try to use a Mash with a
SimpleDelegator.

This new extension allows you create a permissive subclass of Mash that
will be fully compatible with SimpleDelegator and allow you to fully do
thunk-oriented programming with Mashes.

This comes with the trade-off of a ~19KB cache for each of these
subclasses and a ~20% performance penalty on any of those subclasses.
2019-11-17 11:36:31 -06:00
..
keep_original_mash_keys.rb Add an extension to maintain original Mash keys (#326) 2017-02-22 19:37:07 -06:00
mash_method_access.rb Add performance benchmarks for Mash 2017-02-24 07:11:34 -06:00
permissive_respond_to.rb Add a PermissiveRespondTo extension for Mashes 2019-11-17 11:36:31 -06:00