spec/test_projects/one_file_project/analyzer.rb
#Deletes dependencies which are not classes within analyzed project
Deletes dependencies which are not classes within analyzed project
Deletes dependencies which are not classes within analyzed project
def prune_dependencies
      class_names = @classes.map {|klass| klass.name}
      @classes.each do |klass|
        klass.dependencies = klass.dependencies.uniq.keep_if {|dep| class_names.include?(dep)}
      end
    end
def prune_dependencies class_names = @classes . map { | klass | klass . name } @classes . each do | klass | klass . dependencies = klass . dependencies . uniq . keep_if { | dep | class_names . include? ( dep ) } end end
Deletes dependencies which are not classes within analyzed project
Deletes dependencies which are not classes within analyzed project