Skip to content

Commit

Permalink
Update line_width.rb
Browse files Browse the repository at this point in the history
For consistency (use of function rather than defining variable)
  • Loading branch information
PhilippePerret authored Nov 10, 2023
1 parent 8ceaa10 commit fde4202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/graphics/line_width.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
case i
when 0 then line_width = 10 # This call will have no effect
when 1 then self.line_width = 10
when 2 then self.line_width = 25
when 2 then line_width 25 # Consistancy practice
end

stroke do
Expand Down

0 comments on commit fde4202

Please sign in to comment.