Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Includes:
- RubyApp::Mixins::HashMixin
- Defined in:
- lib/ruby_app/mixins/hash_mixin.rb
Instance Method Summary collapse
Methods included from RubyApp::Mixins::HashMixin
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RubyApp::Mixins::HashMixin
Instance Method Details
#symbolize! ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/ruby_app/mixins/hash_mixin.rb', line 25 def symbolize! copy=self.dup self.clear copy.each do |name, value| value.symbolize! if value.is_a?(Hash) self[name.to_sym] = value end return self end |