method

memoize_all

rails latest stable - Class: ActiveSupport::Freezable

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

memoize_all()
public

No documentation available.

# File activesupport/lib/active_support/memoizable.rb, line 21
      def memoize_all
        methods.each do |m|
          if m.to_s =~ /^_unmemoized_(.*)/
            if method(m).arity == 0
              __send__($1)
            else
              ivar = MEMOIZED_IVAR.call($1)
              instance_variable_set(ivar, {})
            end
          end
        end
      end