lib/analyst/processor.rb in analyst-1.0.1 vs lib/analyst/processor.rb in analyst-1.2.0
- old
+ new
@@ -14,10 +14,10 @@
end
def self.process_node(node, parent)
return if node.nil?
return unless node.respond_to?(:type)
- PROCESSORS[node.type].new(node, parent)
+ PROCESSORS[node.type].process(node, parent)
end
end
end