lib/fat_free_crm/plugin.rb
# Preload other plugins that are required by the plugin being loaded.
#--------------------------------------------------------------------------
Preload other plugins that are required by the plugin being loaded.
Preload other plugins that are required by the plugin being loaded .
def dependencies(*plugins)
      plugins.each do |name|
        plugin_path = File.join(Rails.root, 'vendor/plugins', name.to_s)
        require File.directory?(plugin_path) ? File.join(plugin_path, 'init') : name.to_s
      end
    end
def dependencies ( * plugins ) plugins . each do | name | plugin_path = File . join ( Rails . root , 'vendor/plugins' , name . to_s ) require File . directory? ( plugin_path ) ? File . join ( plugin_path , 'init' ) : name . to_s end end
Preload other plugins that are required by the plugin being loaded.
Preload other plugins that are required by the plugin being loaded .
plugins
<not_specific>