374 375 376 377 378
# File 'lib/textbringer/utils.rb', line 374 def run_hooks(name, remove_on_error: false) hooks = Buffer.current[:hooks] run_hooks_in(hooks, name, remove_on_error:) if hooks run_hooks_in(HOOKS, name, remove_on_error:) end