From c41c909decde88156215e07e5d1d52898a3d5aa4 Mon Sep 17 00:00:00 2001 From: Nikolay Ponomarev Date: Wed, 27 Dec 2017 22:21:32 +0300 Subject: Reduce `Reduce` Remove `Arel::Visitors::Reduce` because it almost completely duplicates `Arel::Visitors::Visitor` --- test/visitors/test_to_sql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/visitors') diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index e95c0666b4..eb6eedc55d 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -31,7 +31,7 @@ module Arel it 'can define a dispatch method' do visited = false - viz = Class.new(Arel::Visitors::Reduce) { + viz = Class.new(Arel::Visitors::Visitor) { define_method(:hello) do |node, c| visited = true end -- cgit v1.2.3