Module: Pal::Plugin
Defined Under Namespace
Classes: PluginManager
Instance Method Summary collapse
Methods included from Log
#log_debug, #log_error, #log_info, #log_warn
Instance Method Details
#register_plugins(plugin_dir = "plugins") ⇒ Object
10 11 12 13 |
# File 'lib/pal/plugin.rb', line 10 def register_plugins(plugin_dir="plugins") log_info "Registering any plugins for directory [#{plugin_dir}]" PluginManager.instance.register(plugin_dir) end |