lib/atp/processor.rb in atp-0.2.0 vs lib/atp/processor.rb in atp-0.2.1

- old
+ new

@@ -9,9 +9,13 @@ # # @see http://www.rubydoc.info/gems/ast/2.0.0/AST/Processor class Processor include ::AST::Processor::Mixin + def run(node) + process(node) + end + def process(node) if node.respond_to?(:to_ast) super(node) else node