summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/pattern_fill.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-06-06 17:54:58 +0200
committerGeremia Taglialatela <[email protected]>2023-06-06 17:54:58 +0200
commitb429bd3e7509eafa3f72fb918e691bb8dacc7b19 (patch)
treebd9e5826f7274279fb9a35b842581937ab40a9b3 /lib/axlsx/stylesheet/pattern_fill.rb
parent2965ebd4c719ad34a75e70cb1640e94093c8c763 (diff)
downloadcaxlsx-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