Skip to content

Commit

Permalink
Fix obvious bug in the to_dot extension after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed May 25, 2011
1 parent 5dbc188 commit d396390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequel/extensions/to_dot.rb
Expand Up @@ -44,7 +44,7 @@ def dot(label, j=nil)
def v(e, l)
@i += 1
dot(l, "#{@stack.last} -> #{@i}") if l
@stack.push(i)
@stack.push(@i)
case e
when LiteralString
dot "#{e.inspect}.lit"
Expand Down

0 comments on commit d396390

Please sign in to comment.