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

- old
+ new

@@ -1,6 +1,6 @@ -class Unit < Numeric +class RubyUnits::Unit < Numeric @@cached_units = {} class Cache def self.get(key = nil) key.nil? ? @@cached_units : @@cached_units[key] @@ -15,6 +15,6 @@ @@base_unit_cache = {} Unit.new(1) end end -end \ No newline at end of file +end