summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/worksheet_drawing.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-06-14 14:28:42 +0200
committerGeremia Taglialatela <[email protected]>2023-06-14 14:28:42 +0200
commitd5c945a9f81e92b68e10c3680882648ee42df00d (patch)
treeb092ea046026e623ee7ead6233c6c97c908ffc39 /lib/axlsx/workbook/worksheet/worksheet_drawing.rb
parente74c75b95d39fb51512387031e79f50e52a5874a (diff)
downloadcaxlsx-d5c945a9f81e92b68e10c3680882648ee42df00d.tar.gz
caxlsx-d5c945a9f81e92b68e10c3680882648ee42df00d.zip
Enable Naming/PredicateName cop
Renaming the existing methods would break the public API, and it is not worth to alias and/or deprecate existing methods, so this commit enables Naming/PredicateName and allows the existing methods to preserve their name
Diffstat (limited to 'lib/axlsx/workbook/worksheet/worksheet_drawing.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/worksheet_drawing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/worksheet_drawing.rb b/lib/axlsx/workbook/worksheet/worksheet_drawing.rb
index 18c7189a..c66fe0ec 100644
--- a/lib/axlsx/workbook/worksheet/worksheet_drawing.rb
+++ b/lib/axlsx/workbook/worksheet/worksheet_drawing.rb
@@ -38,7 +38,7 @@ module Axlsx
# helper method to tell us if the drawing has something in it or not
# @return [Boolean]
- def has_drawing?
+ def has_drawing? # rubocop:disable Naming/PredicateName
@drawing.is_a? Drawing
end