Skip to content

Instantly share code, notes, and snippets.

@deepthawtz
Created March 17, 2009 07:05
Show Gist options
  • Select an option

  • Save deepthawtz/80377 to your computer and use it in GitHub Desktop.

Select an option

Save deepthawtz/80377 to your computer and use it in GitHub Desktop.
class Merb::BootLoader::BeforeAppLoads < Merb::BootLoader
# Call any before_app_loads hooks that were registered via before_app_loads
# in any plugins.
#
# ==== Returns
# nil
#
# :api: plugin
def self.run
Merb::BootLoader.before_load_callbacks.each { |x| x.call }
nil
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment