
The Coercible Ruby library gives you access to coercer objects where each object is responsible for coercing only one type into other types.
For example a string coercer knows only how to coerce string objects, integer coercer knows only how to coerce integers etc.