03c8e5c2ca
new file: c/CtrlCheckLinks.rb new file: c/Main.rb deleted: c/main.rb new file: fichier/dir/aa modified: m/ReadFile.rb modified: m/ReadFolder.rb modified: v/Vue1.rb deleted: v/VueError.rb new file: v/VueResult.rb
24 lines
393 B
Ruby
Executable File
24 lines
393 B
Ruby
Executable File
#! /usr/bin/ruby
|
|
|
|
#lib
|
|
require 'gtk2' # lib graphique
|
|
require 'net/ping' #lib netwotk
|
|
|
|
#include
|
|
require './CtrlCheckLinks'
|
|
require '../m/ReadFile'
|
|
require '../m/ReadFolder'
|
|
require '../v/Vue1'
|
|
require '../v/VueResult'
|
|
|
|
while 1
|
|
c = CtrlCheckLinks.new
|
|
urls = c.saisie
|
|
if(urls !=nil)
|
|
resultats = c.verifLiens(urls)
|
|
c.vueResult(resultats)
|
|
else
|
|
break
|
|
end
|
|
end
|
|
print "Termine\n" |