# File lib/hashie/extensions/coercion.rb, line 89 def coerce_value(from, into, options = {}) options = {:strict => true}.merge(options) if options[:strict] (@strict_value_coercions ||= {})[from] = into else while from.superclass && from.superclass != Object (@lenient_value_coercions ||= {})[from] = into from = from.superclass end end end