Module: Axn::Core::Memoization::ClassMethods

Defined in:
lib/axn/core/memoization.rb

Instance Method Summary collapse

Instance Method Details

#memo(method_name) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/axn/core/memoization.rb', line 13

def memo(method_name)
  if _memo_wise_available?
    _ensure_memo_wise_prepended
    memo_wise(method_name)
  else
    _memo_minimal(method_name)
  end
end