Class: Wongi::Engine::FilterTest
- Inherits:
-
Object
- Object
- Wongi::Engine::FilterTest
show all
- Defined in:
- lib/wongi-engine/beta/filter_node.rb
Instance Method Summary
collapse
Instance Method Details
#==(other) ⇒ Object
17
18
19
|
# File 'lib/wongi-engine/beta/filter_node.rb', line 17
def == other
self.class == other.class
end
|
#compile(context) ⇒ Object
11
12
13
14
15
|
# File 'lib/wongi-engine/beta/filter_node.rb', line 11
def compile context
context.node = context.node.beta_memory.filter_node( self )
context.earlier << self
context
end
|
#passes?(token) ⇒ Boolean
7
8
9
|
# File 'lib/wongi-engine/beta/filter_node.rb', line 7
def passes? token
true
end
|