Class: RShade::Filter::AbstractFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/rshade/filter/abstract_filter.rb

Direct Known Subclasses

IncludePathFilter, VariableFilter

Instance Method Summary collapse

Instance Method Details

#call(event) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/rshade/filter/abstract_filter.rb', line 12

def call(event)
  raise NotImplementedError
end

#config(&block) ⇒ Object



20
21
22
23
# File 'lib/rshade/filter/abstract_filter.rb', line 20

def config(&block)
  config_call(&block)
  self
end

#config_callObject

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/rshade/filter/abstract_filter.rb', line 16

def config_call
  raise NotImplementedError
end

#nameObject

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/rshade/filter/abstract_filter.rb', line 4

def name
  raise NotImplementedError
end

#priorityObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/rshade/filter/abstract_filter.rb', line 8

def priority
  raise NotImplementedError
end