method

with_execution_control

rails latest stable - Class: ActiveSupport::LazyLoadHooks
with_execution_control(name, block, once)
private

No documentation available.

# 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