Module: Esse::Plugins
- Defined in:
- lib/esse/plugins.rb
Class Method Summary collapse
Class Method Details
.inherited_instance_variables(mod, hash) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/esse/plugins.rb', line 5 def self.inherited_instance_variables(mod, hash) mod.send(:define_method, :inherited_instance_variables) do super().merge!(hash) end mod.send(:private, :inherited_instance_variables) end |