Looking at #initialize now, it seems that it should accept the scanner options (:ignore) and store those as instance variables. The #scan method would then accept the path to the Gemfile.lock. This would allow the Scanner object to be configured once and ran across multiple Gemfile.lock files.
Looking at
#initializenow, it seems that it should accept the scanner options (:ignore) and store those as instance variables. The#scanmethod would then accept the path to theGemfile.lock. This would allow the Scanner object to be configured once and ran across multipleGemfile.lockfiles.