rubyx/lib/melon/passes/total_processor.rb

15 lines
230 B
Ruby
Raw Normal View History

module Melon
2017-01-16 17:24:32 +02:00
module Passes
class TotalProcessor < AST::Processor
def handler_missing(node)
node.children.each do |kid |
process(kid) if kid.is_a?(AST::Node)
end
end
end
end
end