class method self.new

Ruby on Rails edge

Since edge

Signature

self.new(...)

No documentation comment.

Parameters

... req
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 69
        def initialize(...)
          super
          @local_cache_key = "#{self.class.name.underscore}_local_cache_#{object_id}".gsub(/[\/-]/, "_").to_sym
        end

Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 69 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::Strategy::LocalCache

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close