Class: Malline::Plugin
- Inherits:
-
Object
- Object
- Malline::Plugin
- Defined in:
- lib/malline/plugin.rb
Overview
Malline very incomplete Plugin interface.
Direct Known Subclasses
Class Method Summary collapse
-
.install(view) ⇒ Object
Install a new plugin: Malline::WhatEverPlugin.install view.
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 |