Class: Evilution::AST::Pattern::AnyNodeMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/evilution/ast/pattern/matcher.rb

Instance Method Summary collapse

Instance Method Details

#match?(node) ⇒ Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/evilution/ast/pattern/matcher.rb', line 44

def match?(node)
  !node.nil?
end