Parent

Files

Class Index [+]

Quicksearch

Ubiquo::Plugin

Public Class Methods

add_plugin_loadpaths(path,config) click to toggle source

(Not documented)

    # File vendor/plugins/ubiquo_core/lib/ubiquo/plugin.rb, line 15
15:     def self.add_plugin_loadpaths(path,config)
16:       I18n.load_path += Dir.glob(File.join(path, 'config', 'locales', '**', '*.{rb,yml}'))
17:     end
register(name,path,config,&block) click to toggle source

(Not documented)

    # File vendor/plugins/ubiquo_core/lib/ubiquo/plugin.rb, line 8
 8:     def self.register(name,path,config,&block)
 9:       self.add_plugin_loadpaths(path,config)
10:       Ubiquo::Config.create_context(name)
11:       Ubiquo::Config.context(name, &block)
12:       self.registered[name] = name
13:     end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.