diff options
author | Nikolay Ponomarev <itsnikolay@gmail.com> | 2017-12-27 22:21:32 +0300 |
---|---|---|
committer | Nikolay Ponomarev <itsnikolay@gmail.com> | 2017-12-27 22:30:06 +0300 |
commit | c41c909decde88156215e07e5d1d52898a3d5aa4 (patch) | |
tree | cdbf21b644d22758244a273805a3dd3a674ddd89 /test/visitors | |
parent | aa11ad9129b65e637c05cc4b26a2cbbff6f143c2 (diff) | |
download | rails-c41c909decde88156215e07e5d1d52898a3d5aa4.tar.gz rails-c41c909decde88156215e07e5d1d52898a3d5aa4.tar.bz2 rails-c41c909decde88156215e07e5d1d52898a3d5aa4.zip |
Reduce `Reduce`
Remove `Arel::Visitors::Reduce` because it almost completely duplicates
`Arel::Visitors::Visitor`
Diffstat (limited to 'test/visitors')
-rw-r--r-- | test/visitors/test_to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |