diff options
| author | Geremia Taglialatela <[email protected]> | 2023-06-06 17:54:58 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-06-06 17:54:58 +0200 |
| commit | b429bd3e7509eafa3f72fb918e691bb8dacc7b19 (patch) | |
| tree | bd9e5826f7274279fb9a35b842581937ab40a9b3 /lib/axlsx/stylesheet/pattern_fill.rb | |
| parent | 2965ebd4c719ad34a75e70cb1640e94093c8c763 (diff) | |
| download | caxlsx-b429bd3e7509eafa3f72fb918e691bb8dacc7b19.tar.gz caxlsx-b429bd3e7509eafa3f72fb918e691bb8dacc7b19.zip | |
Invert nil checks to improve performance
Check for `nil` before checking for more expensive conditions which
include a method call or an array scan.
Also removes redundant comments on self-explanatory code
Diffstat (limited to 'lib/axlsx/stylesheet/pattern_fill.rb')
0 files changed, 0 insertions, 0 deletions
