class Bundler::Audit::Scanner

def initialize(root=Dir.pwd)

Parameters:
  • root (String) --
def initialize(root=Dir.pwd)
  @root     = File.expand_path(root)
  @database = Database.new
  @lockfile = LockfileParser.new(
    File.read(File.join(@root,'Gemfile.lock'))
  )
end