diff options
| author | Winfield Peterson <[email protected]> | 2017-11-29 14:41:18 -0500 |
|---|---|---|
| committer | Winfield Peterson <[email protected]> | 2017-11-29 14:41:18 -0500 |
| commit | e50f636dc0d2cd96772a6b55934bf9a7773f21fa (patch) | |
| tree | cdb7b105e7261572258d7f666828e121f23618c8 /examples/conditional_formatting | |
| parent | c8ac844572b25fda358cc01d2104720c4c42f450 (diff) | |
| download | caxlsx-e50f636dc0d2cd96772a6b55934bf9a7773f21fa.tar.gz caxlsx-e50f636dc0d2cd96772a6b55934bf9a7773f21fa.zip | |
Axlsx.sanitize uses delete() vs. delete!() for frozen strings
Whenever a frozen string is passed as an input to any sanitized value, we are modifying it in place which raised a RuntimeError if that string is frozen (as you might expect constants like header or workbook names to be). Use the safer delete() method which creates a new, modified copy of the string.
Diffstat (limited to 'examples/conditional_formatting')
0 files changed, 0 insertions, 0 deletions
