diff options
| author | pjskennedy <[email protected]> | 2022-03-02 10:30:14 -0800 |
|---|---|---|
| committer | pjskennedy <[email protected]> | 2022-03-02 10:30:14 -0800 |
| commit | d800d9a46e79ea2749d38e40cf4f0dabcda59d3f (patch) | |
| tree | da1f3481494c8ea2c24b38cfe43ec8eff0f9ba66 /lib/axlsx/content_type | |
| parent | 20e3f21964c60477e68d4d3731a11a1650ea5061 (diff) | |
| download | caxlsx-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.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 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 |
