diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-06-27 09:30:10 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-27 09:30:10 +0200 |
| commit | f2f6177efac76e6015b98c3290fd1839b8568fbe (patch) | |
| tree | 37551b930bdb8ed3c18e16d8f3e71e9540dad85a /lib/axlsx/util/storage.rb | |
| parent | c18a19b0d3277de2c00380a91b26248dcb34cc51 (diff) | |
| parent | 988c79b8d7602c67f7b761269383129609cf63a7 (diff) | |
| download | caxlsx-f2f6177efac76e6015b98c3290fd1839b8568fbe.tar.gz caxlsx-f2f6177efac76e6015b98c3290fd1839b8568fbe.zip | |
Merge pull request #285 from tagliala/chore/fix-redundant-self-offenses
Fix redundant self offenses
Diffstat (limited to 'lib/axlsx/util/storage.rb')
| -rw-r--r-- | lib/axlsx/util/storage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/util/storage.rb b/lib/axlsx/util/storage.rb index b9b84a37..ac5e9ebc 100644 --- a/lib/axlsx/util/storage.rb +++ b/lib/axlsx/util/storage.rb @@ -133,7 +133,7 @@ module Axlsx @left = @right = @child = -1 @sector = @size = @created = @modified = 0 options.each do |o| - self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" + send("#{o[0]}=", o[1]) if respond_to? "#{o[0]}=" end @color ||= COLORS[:black] @type ||= (data.nil? ? TYPES[:storage] : TYPES[:stream]) |
