From 988c79b8d7602c67f7b761269383129609cf63a7 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 15 Jun 2023 09:30:29 +0200 Subject: Fix redundant self offenses No performance gain, this can be seen as a cosmetic change to have shorter lines --- lib/axlsx/stylesheet/gradient_stop.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/axlsx/stylesheet/gradient_stop.rb') diff --git a/lib/axlsx/stylesheet/gradient_stop.rb b/lib/axlsx/stylesheet/gradient_stop.rb index b0d66683..d4df9b3b 100644 --- a/lib/axlsx/stylesheet/gradient_stop.rb +++ b/lib/axlsx/stylesheet/gradient_stop.rb @@ -31,7 +31,7 @@ module Axlsx # @return [String] def to_xml_string(str = +'') str << '' - self.color.to_xml_string(str) + color.to_xml_string(str) str << '' end end -- cgit v1.2.3