method

memoized_ivar_for

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Memoizable
memoized_ivar_for(symbol) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/memoizable.rb, line 13
    def self.memoized_ivar_for(symbol)
      "@_memoized_#{symbol.to_s.sub(/\?\Z/, '_query').sub(/!\Z/, '_bang')}".to_sym
    end
Register or log in to add new notes.