diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-05 17:52:33 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-06 09:56:05 +0200 |
| commit | 412763fbf817da4519c544dd225803a80ca121f3 (patch) | |
| tree | 8f8d11e3f310f5767d346aad57a320ec9b18ca93 /lib/axlsx/workbook/worksheet/data_validation.rb | |
| parent | eebb33ab2fac3b04dada178f98d03e3a587f620e (diff) | |
| download | caxlsx-412763fbf817da4519c544dd225803a80ca121f3.tar.gz caxlsx-412763fbf817da4519c544dd225803a80ca121f3.zip | |
Fix Layout offenses related to access modifiers
```
rubocop --only Layout/EmptyLinesAroundAccessModifier,Layout/AccessModifierIndentation -a
```
Diffstat (limited to 'lib/axlsx/workbook/worksheet/data_validation.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/data_validation.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/data_validation.rb b/lib/axlsx/workbook/worksheet/data_validation.rb index 194c9a27..0cd28069 100644 --- a/lib/axlsx/workbook/worksheet/data_validation.rb +++ b/lib/axlsx/workbook/worksheet/data_validation.rb @@ -244,7 +244,8 @@ module Axlsx str << '</dataValidation>' end - private + private + def get_valid_attributes attributes = [:allowBlank, :error, :errorStyle, :errorTitle, :prompt, :promptTitle, :showErrorMessage, :showInputMessage, :sqref, :type ] |
