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/doc_props | |
| parent | f30f5e5844e9fd4e3e099fbe3bedf927a8f24966 (diff) | |
| download | caxlsx-20e3f21964c60477e68d4d3731a11a1650ea5061.tar.gz caxlsx-20e3f21964c60477e68d4d3731a11a1650ea5061.zip | |
Update references to use new class method
Diffstat (limited to 'lib/axlsx/doc_props')
| -rw-r--r-- | lib/axlsx/doc_props/app.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/doc_props/app.rb b/lib/axlsx/doc_props/app.rb index b0dadf40..d2421da7 100644 --- a/lib/axlsx/doc_props/app.rb +++ b/lib/axlsx/doc_props/app.rb @@ -223,7 +223,7 @@ module Axlsx def to_xml_string(str = '') str << '<?xml version="1.0" encoding="UTF-8"?>' str << ('<Properties xmlns="' << APP_NS << '" xmlns:vt="' << APP_NS_VT << '">') - instance_values.each do |key, value| + Axlsx.instance_values(self).each do |key, value| node_name = Axlsx.camel(key) str << "<#{node_name}>#{value}</#{node_name}>" end |
