Parent

Class/Module 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
def Base.category=(category)
  @@category = category
end
inherited(klass) click to toggle source

See Mongrel::Plugin for an explanation.

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.