ruby: config bugfix

This commit is contained in:
Derek Hower 2009-08-13 10:37:09 -05:00
parent 1c3efb48ad
commit db40cb8f51

View file

@ -309,7 +309,7 @@ class CacheController < NetPort
cache.controller = self
}
if !@@total_cache_controllers.has_key?(mach_type)
if !@@total_cache_controllers.key?(mach_type)
@@total_cache_controllers[mach_type] = 0
end
@version = @@total_cache_controllers[mach_type]