lib/measured/base.rb in measured-2.5.2 vs lib/measured/base.rb in measured-2.6.0
- old
+ new
@@ -4,12 +4,10 @@
require "active_support/all"
require "bigdecimal"
require "json"
module Measured
- class UnitError < StandardError ; end
-
class << self
def build(&block)
builder = UnitSystemBuilder.new
builder.instance_eval(&block)
@@ -37,9 +35,12 @@
end
end
end
end
+require "measured/unit_error"
+require "measured/unit_already_added"
+require "measured/missing_conversion_path"
require "measured/arithmetic"
require "measured/parser"
require "measured/unit"
require "measured/unit_system"
require "measured/unit_system_builder"