lib/receptacle/method_delegation.rb
# build method cache for given method name
# @param method_name [#to_sym]
# @return [MethodCache]
build method cache for given method name
build method cache for given method name
def __build_method_call_cache(method_name)
      config = Registration.repositories[self]
      raise Errors::NotConfigured.new(repo: self) if config.strategy.nil?
      MethodCache.new(
        strategy:    config.strategy,
        wrappers:    config.wrappers,
        method_name: method_name
      )
    end
def __build_method_call_cache ( method_name ) config = Registration . repositories [ self ] raise Errors :: NotConfigured . new ( repo : self ) if config . strategy . nil? MethodCache . new ( strategy : config . strategy , wrappers : config . wrappers , method_name : method_name ) end
build method cache for given method name
build method cache for given method name
None
MethodCache
method_name
<not_specific>
<not_specific>
None