summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/options_parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/util/options_parser.rb')
-rw-r--r--lib/axlsx/util/options_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/util/options_parser.rb b/lib/axlsx/util/options_parser.rb
index 526a3aed..73faa224 100644
--- a/lib/axlsx/util/options_parser.rb
+++ b/lib/axlsx/util/options_parser.rb
@@ -10,7 +10,7 @@ module Axlsx
def parse_options(options = {})
options.each do |key, value|
key = :"#{key}="
- self.send(key, value) if !value.nil? && self.respond_to?(key)
+ send(key, value) if !value.nil? && respond_to?(key)
end
end
end