RubyGems.org

myrrha

3.0.0.rc7

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.

installgem install myrrha --pre
Authors

Bernard Lambeau

15,410 total downloads 606 for this version
Owners

F1938de600a3feacd015051492fdaf0f

Gemfile
gem 'myrrha', '~> 3.0.0.rc7'
Versions
  1. 3.1.0 August 7, 2014 (28.5 KB)
  2. 3.0.0 February 11, 2013 (28.5 KB)
  3. 3.0.0.rc7 October 25, 2012 (28 KB)
  4. 3.0.0.rc6 October 23, 2012 (28 KB)
  5. 3.0.0.rc5 October 1, 2012 (28 KB)
Show all versions (15 total)
Runtime Dependencies
  1. domain ~> 1.0.0.rc3