Class: Wongi::Engine::FilterTest
- Inherits:
-
Object
- Object
- Wongi::Engine::FilterTest
show all
- Defined in:
- lib/wongi-engine/filter/filter_test.rb
Instance Method Summary
collapse
Instance Method Details
#==(other) ⇒ Object
13
14
15
|
# File 'lib/wongi-engine/filter/filter_test.rb', line 13
def == other
false
end
|
#compile(context) ⇒ Object
9
10
11
|
# File 'lib/wongi-engine/filter/filter_test.rb', line 9
def compile context
context.tap { |c| c.filter_node(self) }
end
|
#passes?(token) ⇒ Boolean
5
6
7
|
# File 'lib/wongi-engine/filter/filter_test.rb', line 5
def passes? token
raise "#{self.class} must implement #passes?"
end
|