rye / nessana

A Nessus dump parser and differ
GNU Affero General Public License v3.0
0 stars 0 forks source link

vulnerability_list: Redundant self #11

Closed rye closed 6 years ago

rye commented 6 years ago

On master, we have the following lines in lib/nessana/vulnerability_list.rb:

https://github.com/rye/nessana/blob/32e3af70f373d1c9f884a6f73bc305cbf75152c6/lib/nessana/vulnerability_list.rb#L10-L12

We probably don't need this; it is probably better to just use class.new and select, which should handle the self problem.