Object
Build the memoized method
Initialize an object to build a memoized method
@param [Module] descendant @param [Symbol] method_name @param [call] freezer
@return [undefined]
@api private
# File lib/memoizable/method_builder.rb, line 54 def initialize(descendant, method_name, freezer) @descendant = descendant @method_name = method_name @freezer = freezer @original_visibility = visibility @original_method = @descendant.instance_method(@method_name) assert_arity(@original_method.arity) end
Generated with the Darkfish Rdoc Generator 2.