method
with_node
v6.0.0 -
Show latest stable
- Class:
Arel::Visitors::Dot
with_node(node)private
No documentation available.
# File activerecord/lib/arel/visitors/dot.rb, line 267
def with_node(node)
if edge = @edge_stack.last
edge.to = node
end
@node_stack.push node
yield
@node_stack.pop
end