Skip to content

Commit

Permalink
Use parentheses for super with arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Apr 30, 2024
1 parent 7ddfd4e commit aaede38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/multi_xml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit aaede38

Please sign in to comment.