Myrrha provides the coercion framework which is missing to Ruby. Coercions are simply defined as a set of rules for converting values from source to target domains (in an abstract sense). As a typical and useful example, it comes with a coerce() method providing a unique entry point for converting a string to a numeric, a boolean, a date, a time, an URI, and so on.
Required Ruby Version
>= 0
Authors
Bernard Lambeau
Versions
-
3.1.0
-
source
- 3.1.0 source August 07, 2014 (28.5 KB)
-
-
3.0.0
-
source
- 3.0.0 source February 11, 2013 (28.5 KB)
-
-
3.0.0.rc7
-
source
- 3.0.0.rc7 source October 25, 2012 (28 KB)
-
-
3.0.0.rc6
-
source
- 3.0.0.rc6 source October 24, 2012 (28 KB)
-
-
3.0.0.rc5
-
source
- 3.0.0.rc5 source October 01, 2012 (28 KB)
-