Method: Fast::FindWithCapture#match?

Defined in:
lib/fast.rb

#match?(node) ⇒ Boolean

Returns:

  • (Boolean)


496
497
498
# File 'lib/fast.rb', line 496

def match?(node)
  node == @previous_captures[@capture_index - 1]
end