Module: Memoizable

Includes:
InstanceMethods
Defined in:
lib/memoizable.rb,
lib/memoizable/memory.rb,
lib/memoizable/version.rb,
lib/memoizable/method_builder.rb,
lib/memoizable/module_methods.rb,
lib/memoizable/instance_methods.rb

Overview

Allow methods to be memoized

Defined Under Namespace

Modules: InstanceMethods, ModuleMethods Classes: Memory, MethodBuilder

Constant Summary collapse

Freezer =

Default freezer

lambda { |object| object.freeze }.freeze
VERSION =

Gem version

'0.4.2'.freeze

Method Summary

Methods included from InstanceMethods

#freeze, #memoize