From aaede3844ba2c8f33c32117e6c53e5e4165553be Mon Sep 17 00:00:00 2001 From: Erik Berlin Date: Tue, 30 Apr 2024 11:33:05 -0700 Subject: [PATCH] Use parentheses for super with arguments --- lib/multi_xml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/multi_xml.rb b/lib/multi_xml.rb index f3873f7..26ac6ea 100644 --- a/lib/multi_xml.rb +++ b/lib/multi_xml.rb @@ -10,7 +10,7 @@ class NoParserError < StandardError; end class DisallowedTypeError < StandardError def initialize(type) - super "Disallowed type attribute: #{type.inspect}" + super("Disallowed type attribute: #{type.inspect}") end end