module Hashie::Extensions::Coercion
Constants
- ABSTRACT_CORE_TYPES
- CORE_TYPES
Public Class Methods
Source
# File lib/hashie/extensions/coercion.rb, line 29 def self.included(base) base.send :include, InstanceMethods base.extend ClassMethods unless base.method_defined?(:set_value_without_coercion) base.send :alias_method, :set_value_without_coercion, :[]= end base.send :alias_method, :[]=, :set_value_with_coercion end