Module
Memoist
In:
lib/memoist.rb
lib/memoist/version.rb
frozen_string_literal: true
Methods
all_memoized_structs
clear_structs
escape_punctuation
extended
extract_reload!
memoist_eval
memoize
memoized_ivar_for
memoized_methods
memoized_prefix
unmemoized_method_for
unmemoized_prefix
Included Modules
InstanceMethods
Classes and Modules
Module
Memoist::InstanceMethods
Constants
MemoizedMethod
=
Struct.new(:memoized_method, :ivar, :arity)
VERSION
=
'0.16.0'.freeze
Public Class methods
escape_punctuation
(string)
extended
(extender)
extract_reload!
(method, args)
memoist_eval
(klass, *args, &block)
memoized_ivar_for
(method_name, identifier = nil)
memoized_methods
()
memoized_prefix
(identifier = nil)
unmemoized_method_for
(method_name, identifier = nil)
unmemoized_prefix
(identifier = nil)
Public Instance methods
all_memoized_structs
()
clear_structs
()
memoize
(*method_names)
[Validate]