Skip to content

Commit

Permalink
style(rubocop): allow intentional use of empty initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Apr 10, 2022
1 parent ba7a28c commit 5c48120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nokogiri/xml/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Node
# [Yields] Nokogiri::XML::Node
# [Returns] Nokogiri::XML::Node
#
def initialize(name, document)
def initialize(name, document) # rubocop:disable Style/RedundantInitialize
# This is intentionally empty.
end

Expand Down

0 comments on commit 5c48120

Please sign in to comment.