Class Jekyll::Plugin
In: lib/jekyll/plugin.rb
Parent: Object

Methods

<=>   inherited   new   priority   safe   subclasses  

Constants

PRIORITIES = { :lowest => -100, :low => -10, :normal => 0, :high => 10, :highest => 100 }

Public Class methods

Spaceship is priority [higher -> lower]

other - The class to be compared.

Returns -1, 0, 1.

Install a hook so that subclasses are recorded. This method is only ever called by Ruby itself.

base - The Class subclass.

Returns nothing.

Initialize a new plugin. This should be overridden by the subclass.

config - The Hash of configuration options.

Returns a new instance.

Get or set the priority of this plugin. When called without an argument it returns the priority. When an argument is given, it will set the priority.

priority - The Symbol priority (default: nil). Valid options are:

           :lowest, :low, :normal, :high, :highest

Returns the Symbol priority.

Get or set the safety of this plugin. When called without an argument it returns the safety. When an argument is given, it will set the safety.

safe - The Boolean safety (default: nil).

Returns the safety Boolean.

The list of Classes that have been subclassed.

Returns an Array of Class objects.

[Validate]