Skip to content

Commit

Permalink
Fix syntax error in non_terminal.rb by correcting parentheses placement
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Feb 1, 2025
1 parent deedfa5 commit 572e57b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/railroad_diagrams/non_terminal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def format(x, y, width)
'y' => y - 11,
'width' => @width,
'height' => @up + @down
}
).add(self)
}).add(self)

text = DiagramItem.new(
'text',
Expand Down

0 comments on commit 572e57b

Please sign in to comment.