method

with_execution_control

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: LazyLoadHooks
with_execution_control(name, block, once) private

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 83
      def with_execution_control(name, block, once)
        unless @run_once[name].include?(block)
          @run_once[name] << block if once

          yield
        end
      end
Register or log in to add new notes.