diff options
Diffstat (limited to 'lib/axlsx/stylesheet/gradient_stop.rb')
| -rw-r--r-- | lib/axlsx/stylesheet/gradient_stop.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 << '<stop position="' << position.to_s << '">' - self.color.to_xml_string(str) + color.to_xml_string(str) str << '</stop>' end end |
