Class: RetryCorrector

Inherits:
Parser::TreeRewriter
  • Object
show all
Defined in:
lib/bulletmark_repairer/retry_corrector.rb

Instance Method Summary collapse

Instance Method Details

#on_def(node) ⇒ Object



4
5
6
7
8
# File 'lib/bulletmark_repairer/retry_corrector.rb', line 4

def on_def(node)
  return if patched?

  node.children.each { |child_node| insert_includes(node: child_node) }
end