summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/dxf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/stylesheet/dxf.rb')
-rw-r--r--lib/axlsx/stylesheet/dxf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/dxf.rb b/lib/axlsx/stylesheet/dxf.rb
index 2c10443a..dc9c2e1c 100644
--- a/lib/axlsx/stylesheet/dxf.rb
+++ b/lib/axlsx/stylesheet/dxf.rb
@@ -69,7 +69,7 @@ module Axlsx
# Dxf elements have no attributes. All of the instance variables
# are child elements.
CHILD_ELEMENTS.each do |element|
- self.send(element).to_xml_string(str) if self.send(element)
+ send(element).to_xml_string(str) if send(element)
end
str << '</dxf>'
end