lib/model_cache.rb in model-cache-0.1.3 vs lib/model_cache.rb in model-cache-0.1.4
- old
+ new
@@ -1,8 +1,8 @@
module ModelCache
DEFAULT_TIME = 12.hours unless const_defined?(:DEFAULT_TIME)
- NIL_OBJECT = Object.new unless const_defined?(:NIL_OBJECT)
+ NIL_OBJECT = :__i_have_no_idea_how_to_do_this_without_an_ugly_symbol unless const_defined?(:NIL_OBJECT)
def self.included(klass)
klass.extend ClassMethods
end
\ No newline at end of file