olbrich/ruby-units — Issue #28: rework how units are defined
Author: olbrich
Created: 2011-12-04 16:41:38+00:00
State: open

Rework the way units are defined internally so that it's simpler to define or redefine units.

Example:
Unit.define!("jiffy") do |unit|
unit.definition = Unit("1/100 seconds")
end