Method: CodeAnalyzer::Checker#node_end

Defined in:
lib/code_analyzer/checker.rb

#node_end(node) ⇒ Object

delegate to end_### according to the sexp_type, like

end_call
end_def

Parameters:



41
42
43
44
# File 'lib/code_analyzer/checker.rb', line 41

def node_end(node)
  @node = node
  self.class.get_callbacks("end_#{node.sexp_type}".to_sym).each { |block| self.instance_exec(node, &block) }
end