Module: Stack::Filters::Register

Included in:
Convertors, DateTime, Standard, String
Defined in:
lib/stack/filters/register.rb

Constant Summary collapse

@@extensions =
[ ]

Class Method Summary collapse

Class Method Details

.extensionsObject



4
# File 'lib/stack/filters/register.rb', line 4

def self.extensions; @@extensions; end

.included(base) ⇒ Object



8
9
10
# File 'lib/stack/filters/register.rb', line 8

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

.invoke_filter(name, params) ⇒ Object



12
13
14
# File 'lib/stack/filters/register.rb', line 12

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