summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-03 18:45:30 +0200
committerGeremia Taglialatela <[email protected]>2023-05-03 18:45:30 +0200
commit6a61caa26ef8e8fbe3a88ecd9341976e5a177db5 (patch)
tree076ea47e1644fe37909d2438d9dc3c97ca50ef5c /lib/axlsx/stylesheet
parentaaf88bd98054b1823ba0ade4b883b84e41b5e947 (diff)
downloadcaxlsx-6a61caa26ef8e8fbe3a88ecd9341976e5a177db5.tar.gz
caxlsx-6a61caa26ef8e8fbe3a88ecd9341976e5a177db5.zip
Fix safe, minor offenses to production code
- Lint/RedundantStringCoercion - Style/CommentAnnotation offenses - Style/DefWithParentheses - Style/EvalWithLocation - Style/MethodCallWithoutArgsParentheses - Style/MethodDefParentheses - Style/NilComparison - Style/Semicolon
Diffstat (limited to 'lib/axlsx/stylesheet')
-rw-r--r--lib/axlsx/stylesheet/styles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/styles.rb b/lib/axlsx/stylesheet/styles.rb
index ca2c7a8c..3b462d37 100644
--- a/lib/axlsx/stylesheet/styles.rb
+++ b/lib/axlsx/stylesheet/styles.rb
@@ -115,7 +115,7 @@ module Axlsx
attr_reader :tableStyles
# Creates a new Styles object and prepopulates it with the requires objects to generate a valid package style part.
- def initialize()
+ def initialize
load_default_styles
end