# File lib/ramaze/plugin.rb, line 38 38: def add_path(path) 39: PATH.unshift(File.expand_path(path)) 40: PATH.uniq! 41: end
# File lib/ramaze/plugin.rb, line 31 31: def add_pool(pool) 32: POOL.unshift(pool) 33: POOL.uniq! 34: end
# File lib/ramaze/plugin.rb, line 61 61: def glob(name = '*') 62: "{#{paths.join(',')}}/plugin/#{name}.{#{EXTS.join(',')}}" 63: end
# File lib/ramaze/plugin.rb, line 46 46: def load(name, options) 47: name = name.to_s 48: try_require(name.snake_case) 49: PLUGIN_LIST << [name, const_get(name.camel_case), options] 50: rescue Exception => exception 51: Log.error(exception) 52: raise LoadError, "Plugin #{name} not found" 53: end
# File lib/ramaze/plugin.rb, line 19 19: def setup 20: PLUGIN_LIST.each do |name, const, options| 21: const.setup(options) if const.respond_to?(:setup) 22: end 23: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.