module Pry::Config::Memoization

Constants

MEMOIZED_METHODS

Public Class Methods

included(mod) click to toggle source
# File lib/pry/config/memoization.rb, line 35
def self.included(mod)
  mod.extend(ClassMethods)
end

Public Instance Methods

memoized_methods() click to toggle source

@return [Array<Symbol>]

Returns the names of methods that have been defined by {ClassMethods#def_memoized}.
# File lib/pry/config/memoization.rb, line 43
def memoized_methods
  MEMOIZED_METHODS[self.class]
end