lib/arel/extensions/overlay.rb in arel_toolkit-0.3.0 vs lib/arel/extensions/overlay.rb in arel_toolkit-0.4.0
- old
+ new
@@ -34,9 +34,18 @@
visit o.length, collector
end
collector << ')'
end
end
+
+ class Dot
+ def visit_Arel_Nodes_Overlay(o)
+ visit_edge o, 'string'
+ visit_edge o, 'substring'
+ visit_edge o, 'start'
+ visit_edge o, 'length'
+ end
+ end
end
end
# rubocop:enable Naming/MethodName
# rubocop:enable Naming/UncommunicativeMethodParamName