# File Warshall.rb, line 326 def entferneNonterminale temp = self.copy() temp.each{|i| temp.nach[i].each{|j| temp.entfernePaar(i,j) if (('A'<=j and j<='Z')or(j=="@"))}} return temp end