module Hashie::Extensions::Coercion::ClassMethods

def value_coercion(value)

Fetch the value coercion, if any, for the specified object.
def value_coercion(value)
  from = value.class
  strict_value_coercions[from] || lenient_value_coercions[from]
end