Skip to content

Commit 9fc7ef2

Browse files
committed
RuboCop: Style/CollectionMethods
1 parent a4c09cf commit 9fc7ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webmention/parsers/html_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def root_node
6262

6363
# @return [Array<Nokogiri::XML::Attr>]
6464
def url_attributes
65-
url_nodes.flat_map(&:attribute_nodes).find_all { |attribute| HTML_ATTRIBUTES_MAP.key?(attribute.name) }
65+
url_nodes.flat_map(&:attribute_nodes).select { |attribute| HTML_ATTRIBUTES_MAP.key?(attribute.name) }
6666
end
6767

6868
# @return [Nokogiri::XML::NodeSet]

0 commit comments

Comments
 (0)