RubyGems.org

Convertable Values provides a simple unit conversion library and pattern for transparently storing base units. Example usage: You have a model that wants to store values with units (e.g., 200 lbs), but you want (or at least should want) to store all the values in a base unit (e.g., 90.718474 kilograms). This gem makes using this design pattern totally transparent.

installgem install convertable_values -v 0.0.1
Authors

Stephen Blankenship

7,470 total downloads 1,557 for this version
Owners

C2de0cc9d1bbfaf913d914e836517a15

Gemfile
gem 'convertable_values', '~> 0.0.1'
Versions
  1. 0.1.2 September 1, 2011 (9 KB)
  2. 0.1.1 May 3, 2011 (9 KB)
  3. 0.1.0 April 19, 2011 (9 KB)
  4. 0.0.2 November 14, 2010 (9.5 KB)
  5. 0.0.1 November 14, 2010 (9 KB)