diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-06-12 09:42:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-12 09:42:32 +0200 |
| commit | 506415434e1f5584001ab79ac9f028e5ba228ef9 (patch) | |
| tree | 63a893a73f1cc51003edf218fed178bb93c604d7 /lib/axlsx/stylesheet/table_style.rb | |
| parent | cfb516062de3d0725b3245cc328f96d702d662d3 (diff) | |
| parent | ee14c1bf5c6aaa96867eb4b90b510f91c3a614f8 (diff) | |
| download | caxlsx-506415434e1f5584001ab79ac9f028e5ba228ef9.tar.gz caxlsx-506415434e1f5584001ab79ac9f028e5ba228ef9.zip | |
Merge pull request #281 from tagliala/chore/fix-colon-method-call
Fix safe Style/ColonMethodCall offenses
Diffstat (limited to 'lib/axlsx/stylesheet/table_style.rb')
| -rw-r--r-- | lib/axlsx/stylesheet/table_style.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/stylesheet/table_style.rb b/lib/axlsx/stylesheet/table_style.rb index 3c3837ea..4bfd7cf5 100644 --- a/lib/axlsx/stylesheet/table_style.rb +++ b/lib/axlsx/stylesheet/table_style.rb @@ -33,11 +33,11 @@ module Axlsx attr_reader :table # @see name - def name=(v) Axlsx::validate_string v; @name = v end + def name=(v) Axlsx.validate_string v; @name = v end # @see pivot - def pivot=(v) Axlsx::validate_boolean v; @pivot = v end + def pivot=(v) Axlsx.validate_boolean v; @pivot = v end # @see table - def table=(v) Axlsx::validate_boolean v; @table = v end + def table=(v) Axlsx.validate_boolean v; @table = v end # Serializes the object # @param [String] str |
