Closed Seberius closed 9 years ago
Hmm what about simply adding
LruRedux::TTL::Cache
LruRedux::TTL::ThreadSafeCache
Its backwards compatible and is fairly clear. The name TtlCache really looks bad to me ... TTLCache also looks bad... so namespacing seems to be the only way to go.
(I mean leave the old LruRedux::Cache as is)
That looks good to me. Thanks
With the addition of a new cache I wanted to get some feedback on the current working name for the TTL cache. I also included an alternative naming scheme to consider.
If the modularized name space was chosen, the current namespaces
LruRedux::Cache
andLruRedux::ThreadSafeCache
could be made into a subclass to provide identical functionality (and backwards compatibility) but also raise a warning about the name change. This is similar to what the 'minitest' gem does if you callMiniTest::Unit::TestCase
instead ofMiniTest::Test
.