I have several methods with good human names, and I end up having memoization for each one, for example:
@one_good_name ||= some good logic ...
attr_accessor_memoizied :one_good_name, ...
I'd recommend implementing this with the memoist ruby gem:
require 'memoist' class MyClass extend Memoist def one_good_name # some good logic ... end memoize :one_good_name end