Module: PublifyPlugins

Included in:
TextFilterPlugin
Defined in:
lib/publify_plugins.rb

Defined Under Namespace

Classes: Base, Keeper

Instance Method Summary collapse

Instance Method Details

#plugin_description(description) ⇒ Object

Deprecated?



16
17
18
# File 'lib/publify_plugins.rb', line 16

def plugin_description(description)
  eval "def self.description; '#{description}'; end"
end

#plugin_display_name(name) ⇒ Object

Deprecated?



21
22
23
# File 'lib/publify_plugins.rb', line 21

def plugin_display_name(name)
  eval "def self.display_name; '#{name}'; end"
end

#plugin_public_action(action) ⇒ Object

Deprecated?



5
6
7
8
# File 'lib/publify_plugins.rb', line 5

def plugin_public_action(action)
  @@plugin_public_actions ||= []
  @@plugin_public_actions.push action
end

#plugin_public_actionsObject

Deprecated?



11
12
13
# File 'lib/publify_plugins.rb', line 11

def plugin_public_actions
  @@plugin_public_actions
end