summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/content_type
diff options
context:
space:
mode:
authorpjskennedy <[email protected]>2022-03-02 10:30:14 -0800
committerpjskennedy <[email protected]>2022-03-02 10:30:14 -0800
commitd800d9a46e79ea2749d38e40cf4f0dabcda59d3f (patch)
treeda1f3481494c8ea2c24b38cfe43ec8eff0f9ba66 /lib/axlsx/content_type
parent20e3f21964c60477e68d4d3731a11a1650ea5061 (diff)
downloadcaxlsx-d800d9a46e79ea2749d38e40cf4f0dabcda59d3f.tar.gz
caxlsx-d800d9a46e79ea2749d38e40cf4f0dabcda59d3f.zip
instance_values -> instance_values_for
Diffstat (limited to 'lib/axlsx/content_type')
-rw-r--r--lib/axlsx/content_type/abstract_content_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/content_type/abstract_content_type.rb b/lib/axlsx/content_type/abstract_content_type.rb
index 69fdcd31..82a659dd 100644
--- a/lib/axlsx/content_type/abstract_content_type.rb
+++ b/lib/axlsx/content_type/abstract_content_type.rb
@@ -24,7 +24,7 @@ module Axlsx
# Serialize the contenty type to xml
def to_xml_string(node_name = '', str = '')
str << "<#{node_name} "
- str << Axlsx.instance_values(self).map { |key, value| Axlsx::camel(key) << '="' << value.to_s << '"' }.join(' ')
+ str << Axlsx.instance_values_for(self).map { |key, value| Axlsx::camel(key) << '="' << value.to_s << '"' }.join(' ')
str << '/>'
end