diff options
| author | pjskennedy <[email protected]> | 2022-03-02 10:02:10 -0800 |
|---|---|---|
| committer | pjskennedy <[email protected]> | 2022-03-02 10:02:10 -0800 |
| commit | 20e3f21964c60477e68d4d3731a11a1650ea5061 (patch) | |
| tree | adf20e15c84507815cdfeab2f0c49c2268fe3805 /lib/axlsx/content_type | |
| parent | f30f5e5844e9fd4e3e099fbe3bedf927a8f24966 (diff) | |
| download | caxlsx-20e3f21964c60477e68d4d3731a11a1650ea5061.tar.gz caxlsx-20e3f21964c60477e68d4d3731a11a1650ea5061.zip | |
Update references to use new class method
Diffstat (limited to 'lib/axlsx/content_type')
| -rw-r--r-- | lib/axlsx/content_type/abstract_content_type.rb | 2 |
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 832ccce6..69fdcd31 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 << instance_values.map { |key, value| Axlsx::camel(key) << '="' << value.to_s << '"' }.join(' ') + str << Axlsx.instance_values(self).map { |key, value| Axlsx::camel(key) << '="' << value.to_s << '"' }.join(' ') str << '/>' end |
