instance method reset_memoizations!

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

reset_memoizations!(locale=nil)

No documentation comment.

Parameters

locale opt = nil
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb, line 42
        def reset_memoizations!(locale=nil)
          @memoized_locales = nil
          (locale ? memoized_lookup[locale.to_sym] : memoized_lookup).clear
        end

Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/memoize.rb line 42 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Backend::Memoize

Type at least 2 characters to search.

↑↓ navigate · open · esc close