method

with_node

v6.1.3.1 - Show latest stable - Class: Arel::Visitors::Dot
with_node(node)
private

No documentation available.

# File activerecord/lib/arel/visitors/dot.rb, line 278
        def with_node(node)
          if edge = @edge_stack.last
            edge.to = node
          end

          @node_stack.push node
          yield
          @node_stack.pop
        end