diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-08 11:55:52 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-08 11:55:52 +0200 |
| commit | 48f392fb7752f14153126e9d154b4f9e2eef8fa7 (patch) | |
| tree | 35e6e5052cb33a7cd5245df137c80d4ec7cb9346 /lib/axlsx/drawing/axes.rb | |
| parent | 55526805cf28cc91a22df5811b26cd23bdefa8d3 (diff) | |
| download | caxlsx-48f392fb7752f14153126e9d154b4f9e2eef8fa7.tar.gz caxlsx-48f392fb7752f14153126e9d154b4f9e2eef8fa7.zip | |
Fix Layout/EmptyLineAfterGuardClause offenses
```
rubocop --only Layout/EmptyLineAfterGuardClause -a
```
Diffstat (limited to 'lib/axlsx/drawing/axes.rb')
| -rw-r--r-- | lib/axlsx/drawing/axes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/axlsx/drawing/axes.rb b/lib/axlsx/drawing/axes.rb index 0e4403ab..314f28c3 100644 --- a/lib/axlsx/drawing/axes.rb +++ b/lib/axlsx/drawing/axes.rb @@ -8,6 +8,7 @@ module Axlsx # must come first (we assume a Ruby 1.9+ Hash or an OrderedHash). def initialize(options = {}) raise(ArgumentError, "CatAxis must come first") if options.keys.include?(:cat_axis) && options.keys.first != :cat_axis + options.each do |name, axis_class| add_axis(name, axis_class) end |
