Module: Jekyll::Filters::Custom

Included in:
Basic
Defined in:
lib/jekyll/custom_filters.rb

Constant Summary collapse

@@extensions =
[ ]

Class Method Summary collapse

Class Method Details

.extensionsObject



4
# File 'lib/jekyll/custom_filters.rb', line 4

def self.extensions; @@extensions; end

.included(base) ⇒ Object



8
9
10
# File 'lib/jekyll/custom_filters.rb', line 8

def self.included(base)
  @@extensions << base
end

.invoke_filter(name, params) ⇒ Object



12
13
14
# File 'lib/jekyll/custom_filters.rb', line 12

def self.invoke_filter(name, params)
  self.send(name, params)
end