diff options
| author | Geremia Taglialatela <[email protected]> | 2023-06-15 09:30:29 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-06-15 09:30:29 +0200 |
| commit | 988c79b8d7602c67f7b761269383129609cf63a7 (patch) | |
| tree | 036d742dc625ea43028326d869a06e35ef9952b1 /lib/axlsx/doc_props/core.rb | |
| parent | e74c75b95d39fb51512387031e79f50e52a5874a (diff) | |
| download | caxlsx-988c79b8d7602c67f7b761269383129609cf63a7.tar.gz caxlsx-988c79b8d7602c67f7b761269383129609cf63a7.zip | |
Fix redundant self offenses
No performance gain, this can be seen as a cosmetic change to have
shorter lines
Diffstat (limited to 'lib/axlsx/doc_props/core.rb')
| -rw-r--r-- | lib/axlsx/doc_props/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/doc_props/core.rb b/lib/axlsx/doc_props/core.rb index 8dbe4cf4..4e98ac8e 100644 --- a/lib/axlsx/doc_props/core.rb +++ b/lib/axlsx/doc_props/core.rb @@ -27,7 +27,7 @@ module Axlsx str << '<cp:coreProperties xmlns:cp="' << CORE_NS << '" xmlns:dc="' << CORE_NS_DC << '" ' str << 'xmlns:dcmitype="' << CORE_NS_DCMIT << '" xmlns:dcterms="' << CORE_NS_DCT << '" ' str << 'xmlns:xsi="' << CORE_NS_XSI << '">' - str << '<dc:creator>' << self.creator << '</dc:creator>' + str << '<dc:creator>' << creator << '</dc:creator>' str << '<dcterms:created xsi:type="dcterms:W3CDTF">' << (created || Time.now).strftime('%Y-%m-%dT%H:%M:%S') << 'Z</dcterms:created>' str << '<cp:revision>0</cp:revision>' str << '</cp:coreProperties>' |
