module ActiveSupport::Dependencies
Public Class Methods
load_missing_constant_with_hooks(from_mod, constant_name)
click to toggle source
# File lib/foreman_hooks.rb, line 89 def load_missing_constant_with_hooks(from_mod, constant_name) ret = load_missing_constant_without_hooks(from_mod, constant_name) ForemanHooks.hooks.each do |klass,events| ForemanHooks.attach_hook(ret, events) if ret.name == klass end ret end