Show HN: I built a Ruby gem that handles memoization with a ttl
(github.com)46 points by hp_hovercraft84 a day ago
I built a Ruby gem for memoization with TTL + LRU cache. It’s thread-safe, and has been helpful in my own apps. Would love to get some feedback: https://github.com/mishalzaman/memo_ttl
Since using `def` to create a method returns a symbol with the method name, you can do something like this too: