def _attribute_typecaster(attribute_name)
      type = _attribute_type(attribute_name)
      self.class.attributes[attribute_name][:typecaster] || typecaster_for(type) or raise UnknownTypecasterError, "Unable to cast to type #{type}"
    end
def _attribute_typecaster(attribute_name)
      type = _attribute_type(attribute_name)
      self.class.attributes[attribute_name][:typecaster] || typecaster_for(type) or raise UnknownTypecasterError, "Unable to cast to type #{type}"
    end
Resolve an attribute typecaster

 @private
 @since 0.6.0