Class: Malline::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/malline/plugin.rb

Overview

Malline very incomplete Plugin interface.

Direct Known Subclasses

XHTML

Class Method Summary collapse

Class Method Details

.install(view) ⇒ Object

Install a new plugin: Malline::WhatEverPlugin.install view



21
22
23
24
25
# File 'lib/malline/plugin.rb', line 21

def self.install view
	return if view.malline.plugins.include? self
	self.do_install view
	view.malline.plugins << self
end