summaryrefslogtreecommitdiffhomepage
path: root/examples/shared_strings_example.md
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-07-02 10:44:03 +0200
committerGeremia Taglialatela <[email protected]>2023-07-02 10:44:03 +0200
commit4bf0ab60682324873bbd250499c1de09fcf93b12 (patch)
tree1e9f34017094c91a460eca7a77ba5c276a133301 /examples/shared_strings_example.md
parentf2f6177efac76e6015b98c3290fd1839b8568fbe (diff)
downloadcaxlsx-4bf0ab60682324873bbd250499c1de09fcf93b12.tar.gz
caxlsx-4bf0ab60682324873bbd250499c1de09fcf93b12.zip
Require 'cgi' at module level
Previously, `require 'cgi'` was only called in `cell.rb`, but there are other components in the Axlsx module that also use this dependency, including `Axlsx::SeriesTitle`, `Axlsx::StrVal`, `Axlsx::Title` (drawing), `Axlsx::Comment`, `Axlsx::ConditionalFormattingRule`, and `Axlsx::HeaderFooter`. By requiring cgi at the module level, we ensure that this dependency is available to all components in the Axlsx module, which can prevent issues if someone is requiring specific components that depend on cgi. This change improves the maintainability and reliability of the codebase by ensuring that all components have access to the required dependencies. Close #282
Diffstat (limited to 'examples/shared_strings_example.md')
0 files changed, 0 insertions, 0 deletions