From fde4202fb95b394321b5ff576097d22545d98453 Mon Sep 17 00:00:00 2001 From: Philippe Perret Date: Fri, 10 Nov 2023 09:18:10 +0100 Subject: [PATCH] Update line_width.rb For consistency (use of function rather than defining variable) --- manual/graphics/line_width.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/graphics/line_width.rb b/manual/graphics/line_width.rb index 15fe790e9..65c85b9e6 100644 --- a/manual/graphics/line_width.rb +++ b/manual/graphics/line_width.rb @@ -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