Module Merb::Plugins
In: lib/merb-core/plugins.rb

Methods

Public Class methods

Parameters

*rakefiles:Rakefiles to add to the list of plugin Rakefiles.

Notes

This is a recommended way to register your plugin‘s Raketasks in Merb.

Examples

From merb_sequel plugin:

if defined(Merb::Plugins)

  Merb::Plugins.add_rakefiles "merb_sequel" / "merbtasks"

end

Returns

Hash:The configuration loaded from Merb.root / "config/plugins.yml" or, if the load fails, an empty hash.

Returns

Array(String):All Rakefile load paths Merb uses for plugins.

[Validate]