lib/ruby-units.rb in ruby-units-1.4.3 vs lib/ruby-units.rb in ruby-units-1.4.4

- old
+ new

@@ -1,14 +1,9 @@ $LOAD_PATH << File.dirname(__FILE__) -require "ruby_units/version" -require "ruby_units/definition" -require "ruby_units/cache" -require 'ruby_units/array' -require 'ruby_units/date' -require 'ruby_units/time' -require 'ruby_units/math' -require 'ruby_units/numeric' -require 'ruby_units/object' -require 'ruby_units/string' -require 'ruby_units/unit' -require 'ruby_units/fixnum' -require 'ruby_units/unit_definitions' + +require_relative 'ruby_units/namespaced' + +# only include the Unit('unit') helper if we aren't fully namespaced +require_relative 'ruby_units/object' + + +Unit = RubyUnits::Unit