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
11
12
13
|
# File 'lib/wongi-engine/filter/filter_test.rb', line 11
def ==(_other)
false
end
|
#compile(context) ⇒ Object
7
8
9
|
# File 'lib/wongi-engine/filter/filter_test.rb', line 7
def compile(context)
context.tap { |c| c.filter_node(self) }
end
|
#passes?(_token) ⇒ Boolean
3
4
5
|
# File 'lib/wongi-engine/filter/filter_test.rb', line 3
def passes?(_token)
raise "#{self.class} must implement #passes?"
end
|