method

extended

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: LazyLoadHooks
extended(base) 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/lazy_load_hooks.rb, line 44
    def self.extended(base) # :nodoc:
      base.class_eval do
        @load_hooks = Hash.new { |h, k| h[k] = [] }
        @loaded     = Hash.new { |h, k| h[k] = [] }
        @run_once   = Hash.new { |h, k| h[k] = [] }
      end
    end
Register or log in to add new notes.