ruby-coercible

powerful, flexible and configurable coercion library
  https://github.com/solnic/coercible
  0
  no reviews



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.