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/rels | |
| parent | f30f5e5844e9fd4e3e099fbe3bedf927a8f24966 (diff) | |
| download | caxlsx-20e3f21964c60477e68d4d3731a11a1650ea5061.tar.gz caxlsx-20e3f21964c60477e68d4d3731a11a1650ea5061.zip | |
Update references to use new class method
Diffstat (limited to 'lib/axlsx/rels')
| -rw-r--r-- | lib/axlsx/rels/relationship.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/rels/relationship.rb b/lib/axlsx/rels/relationship.rb index ad47c9a3..4ff38702 100644 --- a/lib/axlsx/rels/relationship.rb +++ b/lib/axlsx/rels/relationship.rb @@ -103,7 +103,7 @@ module Axlsx # @param [String] str # @return [String] def to_xml_string(str = '') - h = self.instance_values.reject{|k, _| k == "source_obj"} + h = Axlsx.instance_values(self).reject{|k, _| k == "source_obj"} str << '<Relationship ' str << (h.map { |key, value| '' << key.to_s << '="' << Axlsx::coder.encode(value.to_s) << '"'}.join(' ')) str << '/>' |
