Module: Nesta::Plugins

Defined in:
lib/nesta/plugins.rb

Class Method Summary collapse

Class Method Details

.load_local_pluginsObject



3
4
5
6
# File 'lib/nesta/plugins.rb', line 3

def self.load_local_plugins
  plugins = Dir.glob(File.expand_path('../plugins/*', File.dirname(__FILE__)))
  plugins.each { |plugin| require_plugin(plugin) }
end