SocketIO: Change entry names as little as possible

pull/1460/head
Phil Scherer 4 years ago
parent 58904ce7f9
commit adf7db1b8d

@ -18,14 +18,10 @@ module Docs
css('h3').each_with_object([]) do |node, entries|
name = node.content
name.remove! %r{\(.*}
name.remove! %r{\:.*}
unless entries.any? { |entry| entry[0] == name }
entries << [name, node['id'], self.name.remove(' API')]
end
end
end
end
end
end

Loading…
Cancel
Save