Module: Spark::CoreExtension::Hash
- Defined in:
- lib/spark/ext/hash.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/spark/ext/hash.rb', line 28 def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) base.class_eval do patch_unless_exist :stringify_keys!, :spark patch_unless_exist :symbolize_keys!, :spark patch_unless_exist :transform_keys!, :spark end end |