Method: Fast::Capture#match?

Defined in:
lib/fast.rb

#match?(node) ⇒ Boolean

Append the matching node to #captures if it matches

Returns:

  • (Boolean)


540
541
542
# File 'lib/fast.rb', line 540

def match?(node)
  @captures << node if super
end