Class Module
In: lib/tins/xt/named.rb
lib/tins/memoize.rb
lib/tins/memoize.rb
lib/tins/xt/named.rb
Parent: Object

Methods

Included Modules

Module Module Module Module

Public Class methods

Returns the current memoize cache for all the stored objects and method call results.

Returns the current memoize cache for all the stored objects and method call results.

Finalizer to delete the stored result for a garbage collected object.

Finalizer to delete the stored result for a garbage collected object.

Public Instance methods

Returns the current memoize cache for this Module.

Returns the current memoize cache for this Module.

Clear cached values for all methods and functions.

Clear cached values for all methods and functions.

Automatically memoize calls of the functions function_ids. The memoized result does ONLY depend on the arguments given to the function.

Automatically memoize calls of the functions function_ids. The memoized result does ONLY depend on the arguments given to the function.

Automatically memoize calls of the the methods method_ids. The memoized results do NOT ONLY depend on the arguments, but ALSO on the object the method is called on.

Automatically memoize calls of the the methods method_ids. The memoized results do NOT ONLY depend on the arguments, but ALSO on the object the method is called on.

[Validate]