instance method unmemoize_all

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

unmemoize_all()

No documentation comment.

Source
# File activesupport/lib/active_support/memoizable.rb, line 34
      def unmemoize_all
        methods.each do |m|
          if m.to_s =~ /^_unmemoized_(.*)/
            ivar = MEMOIZED_IVAR.call($1)
            instance_variable_get(ivar).clear if instance_variable_defined?(ivar)
          end
        end
      end

Defined in activesupport/lib/active_support/memoizable.rb line 34 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Memoizable::Freezable

Type at least 2 characters to search.

↑↓ navigate · open · esc close