Flowdock
method

execute_hook

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActiveSupport
execute_hook(base, options, block) 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 32
  def self.execute_hook(base, options, block)
    if options[:yield]
      block.call(base)
    else
      base.instance_eval(&block)
    end
  end
Register or log in to add new notes.