Class: Querly::Pattern::Expr::Nil

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



77
78
79
# File 'lib/querly/pattern/expr.rb', line 77

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