RubyGems.org

flex_coerce

0.0.1

FlexCoerce - is a gem which allow you create operator-dependent coercion logic. It's useful when your type should be treated in a different way for different binary operations (including arithmetic operators, bitwise operators and comparison operators except equality checks: `==`, `===`).

installgem install flex_coerce
Authors

Ilya Vorontsov

726 total downloads 726 for this version
Owners

Fe1c0797f345249625590d25a51efd0a

Licenses

MIT

Gemfile
gem 'flex_coerce', '~> 0.0.1'
Versions
  1. 0.0.1 March 8, 2013 (8 KB)