Parent

Class Index [+]

Quicksearch

GemPlugin::Base

This base class for plugins really does nothing more than wire up the new class into the right category. It is not thread-safe yet but will be soon.

Attributes

options[R]

Public Class Methods

category=(category) click to toggle source

See Mongrel::Plugin for an explanation.

     # File lib/gem_plugin.rb, line 260
260:     def Base.category=(category)
261:       @@category = category
262:     end
inherited(klass) click to toggle source

See Mongrel::Plugin for an explanation.

     # File lib/gem_plugin.rb, line 253
253:     def Base.inherited(klass)
254:       name = "/" + klass.to_s.downcase
255:       Manager.instance.register(@@category, name, klass)
256:       @@category = nil
257:     end
new(options = {}) click to toggle source
     # File lib/gem_plugin.rb, line 264
264:     def initialize(options = {})
265:       @options = options
266:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.