Class: Querly::Pattern::Expr::Self

Inherits:
Base
  • Object
show all
Defined in:
lib/querly/pattern/expr.rb

Instance Method Summary collapse

Methods inherited from Base

#==, #=~, #attributes

Instance Method Details

#test_node(node) ⇒ Object



299
300
301
# File 'lib/querly/pattern/expr.rb', line 299

def test_node(node)
  node&.type == :self
end