Module: ATSD::Utils::UnderscoreKeys
- Included in:
- BaseModel
- Defined in:
- lib/atsd/utils/underscore_keys.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/atsd/utils/underscore_keys.rb', line 6 def self.included(base) base.send :include, InstanceMethods base.send :alias_method, :set_value_without_underscore, :[]= unless base.method_defined?(:set_value_without_underscore) base.send :alias_method, :[]=, :set_value_with_underscore end |