We forked trusty memoizer to make two changes:
-1
.We published our fork as a new gem named memoized.
memoized is API-compatible to memoizer, you just need to include Memoized
instead of Memoizer
:
class A
include Memoized
memoize def hello
'hello!'
end
end