memoizable.rb

Path: lib/locale/util/memoizable.rb
Last Update: Thu Jul 23 06:22:45 +0900 2009

Refer from activesupport-2.2.0.

  • Remove the dependecies to activesupport.
  • change the key to hash value of args.
  • Not Thread safe
  • Add the clear method.

[Validate]